LWJGL Forum

Programming => General Java Game Development => Topic started by: soxey6 on July 09, 2015, 11:04:45

Title: GLFW polling isn't behaving as expected
Post by: soxey6 on July 09, 2015, 11:04:45
Does glfwPollEvents(); have to be in the same thread as rendering?
I wanted to thread the system and have 3 threads (Render, input and logic)
If I run that code in the same thread as I'm rendering, it works. Otherwise the program stops responding.

Any ideas?

FAQ: Yes the other thread that doesn't work is running
Title: Re: GLFW polling isn't behaving as expected
Post by: Kai on July 09, 2015, 11:24:21
Read this forum entry (http://forum.lwjgl.org/index.php?topic=5836.0).