-
Автор темы
- #1
Hi, Im trying to make a multihreaded imgui overlay. I have a main menu but i want to draw to another window too at the same time using imgui.
I tried everything like SetContext and mutex locking too but my code always fails as soon as i start to init / render my new imgui window in my thread.
I understand that imgui is not thread safe at all but since i want to two different windows with immgui on it I'm gonna have to use a thread.
Anyone ever achieved something like this or figured out how to draw 2 windows with completely new init and backend?
I tried everything like SetContext and mutex locking too but my code always fails as soon as i start to init / render my new imgui window in my thread.
I understand that imgui is not thread safe at all but since i want to two different windows with immgui on it I'm gonna have to use a thread.
Anyone ever achieved something like this or figured out how to draw 2 windows with completely new init and backend?