Replies: 2 comments
-
BX_ASSERT code locate on bgfx.cpp:4013 |
Beta Was this translation helpful? Give feedback.
0 replies
-
3rd paragraph should be m_textureRef always same with m_textures |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when resize window,call bgfx::reset to resize framebuffer,after that call bgfx::bilt may cause BX_ASSERT because new coordinates may out of old size
i trace CommandBuffer::ResizeTexture and check the RendererContext##Platform::resizeTexture had updated m_textures."m_size",only
Context::m_textureRef not be updated at all,i try update its size on Context::resize and test it seems alright,
i'm not sure is it a good solution becuse i can't find a good and simple way to make sure m_textures always same with m_textureRef whenever m_textureRef resize success or fail
Beta Was this translation helpful? Give feedback.
All reactions