You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that if Start/FinishRenderingCurrentFrame is being called on the graphics thread, then bgfx::frame can cause releaseFn to be called before this loop is done with image. One possible somewhat hacky solution is to save the image->m_numMips in a local variable to prevent usage of image as it is only possible for the releaseFn to be called on the last mip.
The text was updated successfully, but these errors were encountered:
BabylonNative/Plugins/NativeEngine/Source/NativeEngine.cpp
Lines 301 to 317 in 6bb7702
The problem is that if Start/FinishRenderingCurrentFrame is being called on the graphics thread, then bgfx::frame can cause
releaseFn
to be called before this loop is done withimage
. One possible somewhat hacky solution is to save theimage->m_numMips
in a local variable to prevent usage ofimage
as it is only possible for thereleaseFn
to be called on the last mip.The text was updated successfully, but these errors were encountered: