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

bgfx caps Initialization during 1st rendered frame #1163

Open
CedricGuillemet opened this issue Nov 4, 2022 · 0 comments
Open

bgfx caps Initialization during 1st rendered frame #1163

CedricGuillemet opened this issue Nov 4, 2022 · 0 comments
Assignees
Labels
Android Affects Android bug Something isn't working question Further information is requested rendering
Milestone

Comments

@CedricGuillemet
Copy link
Contributor

CedricGuillemet commented Nov 4, 2022

While doing tests for a partner on Android, I've noticed that if a render target is created in JS before having a frame rendered with bgfx, then is crashes here:

assert(bgfx::isTextureValid(0, false, 1, format, BGFX_TEXTURE_RT));

It looks like the caps are not properly.
I didn't check other APIs
Also, note this happens with context initialization and not with a native window initialization.

The fix for my case is to render 1 frame during init.

@CedricGuillemet CedricGuillemet added bug Something isn't working question Further information is requested Android Affects Android rendering labels Nov 4, 2022
@bghgary bghgary added this to the 6.0 milestone Nov 8, 2022
@bghgary bghgary modified the milestones: 6.0, 7.0 Apr 19, 2023
@thomlucc thomlucc modified the milestones: 7.0, Future Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Affects Android bug Something isn't working question Further information is requested rendering
Projects
None yet
Development

No branches or pull requests

3 participants