Closed elect86 closed 5 years ago
I cant reproduce anymore, don't know what was the problem..
Hmm.. you would get this exception if you had called glfwMakeContextCurrent with 0L while no context was current at the moment. This bug should not happen, of course, and I will fix this. Thanks for mentioning!
Actually, what I wrote above was wrong. I've tried a few things but cannot reproduce this error also. Do you happen to use multiple threads and migrate the GL context between different threads?
no.
I'm sorry I cannot specify what caused that, probably too much spaghetti debugging..
Alrighty then. :) When it happens again, I'd be glad if you could post here again.
Sure, thanks for the cool lib, I fixed glfwInit()
to be called from the main thread though
Hi,
as titled, it crashes here:
I double cheched and
context
is indeed nullIn my app I do the following:
glfwGetCurrentContext == window.handle
)And the last step is exactly where debug crashes
What is wrong?
ps:
glfw
is already initialized at that point, I also haveGLFWErrorCallback.createPrint().set()
but I dont get any error from there