Going from Headed to Headless window freeze #7401
beekayer
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment
-
I think this is a SDL issue. This sequence: |
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
-
I have been successfully using ImGui since 2022 on a personal project so I'm quite familiar with the API. I have a need to transition from Headed to Headless and Headless to Headed as many times as necessary during run time (as commanded by the the user). Using the NULL backend example, I can easily start off headless and then transition to headed by gracefully shutting down the headless context and then restarting a normal headed context. Works great. I can't, however, seem to go from Headed to Headless during run time. I gracefully shut down like I normally do and then I bring everything back up using the NULL backend sequence. The window freezes on last rendered frame and despite going through all the hoops of cleaning up the backend and destroying imgui context, and backend, that frozen window persists. Is there an inherent limitation in ImGui preventing this? Perhaps backend dependent? (Using SDL/SDL-rendering)
Beta Was this translation helpful? Give feedback.
All reactions