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
What do you mean by attaching to? Which issue are you responding to? If you mean issue 3, I only mean to report the potential issue and I can live with it. Issue 1 and issue 2 are more blocking.
Reproduced issue 1 on Mac + Metal. Issue 2... never got multi-threading to work with Mac + Metal.
Edit: issue 2 is my mistake not calling reset and set view rect after re-init.
Still not understanding why 1 happens, but I think at minimum the below log message is incorrect. It is not guaranteed to be single thread mode when the message says so. The Helloworld demo appears to be so on Mac.
BX_TRACE("Application called bgfx::renderFrame directly, not creating render thread.");
m_singleThreaded = true
&& ~BGFX_API_THREAD_MAGIC == s_threadIndex
;
A few issues encountered when trying to get shutdown and re-init to work.
The program simply inits bgfx, shuts it down, then inits it again using the same Init struct.
Looks like it's relevant to the
BGFX_API_THREAD_MAGIC
checkMulti-thread mode. Mostly works but after 2nd init clearing stops working, with all backends.(fixed, user error)In both modes, below warning appears during shutdown:
d3d11
backend:d3d12
backend:GL and Vulkan seems fine. Metal and GLES not tested.
This issue is not as important as the first 2 since shutdown & re-init is not as useful on Windows.
The text was updated successfully, but these errors were encountered: