[osx] [metal] [docking] ImGui window become dark outside of main windows and lot of error on the console #5832
DridriLaBastos
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to add ImGui to my application (the docking branch) and I have a problem: I am able to run the osx + metal example, but if I move any of the ImGui windows outside of the native osx window: the ImGui window become all dark and I have a lot of error messages in the console :
The messages stop appearing as soon as the ImGui window returns to the native window.
I have a MacBook pro from late 2013 with macOS 11.7 (thus it is compatible with metal).
I copy pasted all the code from the example folder for osx + metal and I changed the main function to create a window by hand :
When stepping through the code I found that there is also an error at the initialization inside the AppViewController : when stepping through the call to
MTLCreateSystemDefaultDevice()
I have two errors that appear in the console (the last two lines):The thing is: the device returned is not null but well populated with information data :
I tried to launch the example with the xcode project and it worked well. But for my app I need everything to be in c++. My question is what am I doing wrong?
Also, I tried the example with GLFW + metal, and I had the same error messages
Beta Was this translation helpful? Give feedback.
All reactions