Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed wrong cast uint16t to uint32t #3187

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

Fabiz
Copy link
Contributor

@Fabiz Fabiz commented Oct 23, 2023

The new Google Pixel 8 device supports maxTextureSize of 65535. The current implementation sets this value to 0 and lets crash my app. With the cast to uint32t the app works correctly again.

The new Google Pixel 8 device supports maxTextureSize of 65535. The current implementation sets this value to 0 and lets crash my app. With the cast to uint32t the app works correctly again.
@Fabiz Fabiz requested a review from bkaradzic as a code owner October 23, 2023 07:48
@bkaradzic bkaradzic merged commit e8f51de into bkaradzic:master Oct 23, 2023
jay3d pushed a commit to jay3d/bgfx that referenced this pull request Dec 7, 2023
The new Google Pixel 8 device supports maxTextureSize of 65535. The current implementation sets this value to 0 and lets crash my app. With the cast to uint32t the app works correctly again.
mipek pushed a commit to mipek/bgfx that referenced this pull request Mar 2, 2024
The new Google Pixel 8 device supports maxTextureSize of 65535. The current implementation sets this value to 0 and lets crash my app. With the cast to uint32t the app works correctly again.
bghgary added a commit to BabylonJS/BabylonNative that referenced this pull request May 7, 2024
See https://forum.babylonjs.com/t/pixel-8-pro-crash/48956. Specifically,
the fix that makes the code work is
bkaradzic/bgfx#3187.

This change also:
- Cleans up the Android build such that the build output goes to the
`Build/Android` folder.
- Update CI to latest Xcode since the old compilers no longer compile
with latest bgfx.
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.

2 participants