-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when ImGui sets glfw window position #5783
Comments
You need to specify which error and fill the exact issue template so we know eg which OS you are using. |
I am running on windows, I am on the docking branch and I just get an error that says "exception thrown at ...". I am using v1.88 (latest as of now) |
@AnnoyingB A stack trace and the the full exception message would be helpful here. We can't just divine what's wrong with your program, especially when the code snippet provided is not self-contained. |
Looking at your screenshot it appears the call to I'm not seeing an obvious reason it would be failing here. If your engine is multi-threaded, make sure you aren't accessing the main window's OpenGL context from a different thread from the one where you call You should configure a GLFW error callback to get the error message. (See |
This appears to be the same as #5687, which unfortunately didn't really have a resolution. Does this issue happen with the official Looking around the internet, it sounds like you probably just need to update your GPU drivers. Also screenshots of consoles make it harder for people to search. Copy+pasting the error for the sake of searchability:
|
it works in the example |
this is my glfw init code:
|
I copied some code of the examples and it still doesn't work :\ |
I fixed it. I had the class "Window" stored as a unique ptr witch glfw didn't like. I just had to make it a normal variable. |
I get an error on this line:
Here is my code:
I built it into a lib if that could do anything to make it break.
The text was updated successfully, but these errors were encountered: