Skip to content

Fix renderer warnings#609

Draft
bluepilledgreat wants to merge 2 commits into
nbcraft-org:masterfrom
bluepilledgreat:bugfix/renderer-warnings
Draft

Fix renderer warnings#609
bluepilledgreat wants to merge 2 commits into
nbcraft-org:masterfrom
bluepilledgreat:bugfix/renderer-warnings

Conversation

@bluepilledgreat
Copy link
Copy Markdown
Contributor

  • Fixed the renderer using unsigned int instead of size_t. Even though they're both technically the same, MSVC does not like mismatching typedefs and their actual types.
  • Fixed _renderStateTypeMap being defined twice

@Un1q32
Copy link
Copy Markdown
Contributor

Un1q32 commented May 12, 2026

size_t is not the same as unsigned int on 64 bit anything

@bluepilledgreat
Copy link
Copy Markdown
Contributor Author

size_t is not the same as unsigned int on 64 bit anything

was thinking of 32-bit platforms when writing that, whoops

Copy link
Copy Markdown
Member

@BrentDaMage BrentDaMage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, however I'd like to test with an ancient version of Xcode first on my Power Mac G5, since I had to make a lot of changes for the JsonParsers initially for that exact reason.

@bluepilledgreat bluepilledgreat marked this pull request as draft May 12, 2026 23:08
@BrentDaMage
Copy link
Copy Markdown
Member

Code builds fine on the G5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants