Crashing on Chapter 2 unexpectedly?
EllisBarnes00 opened this issue · 2 comments
EllisBarnes00 commented
I am fairly new to using LWJGL, and I keep getting this error. From what I can tell from reading under the THREAD section in the log, it seems to crash on Thread.run()
Here is the log file IntelliJ spits out at me: hs_err_pid18639.log
httpdigest commented
This is not the code from Chapter 1. You modified it apparently to run on its own thread.
See the answer to your issue posted on the lwjgl3 repo: LWJGL/lwjgl3#332
EllisBarnes00 commented
this.windowHandle = glfwCreateWindow(this.width, this.height, this.title, 1, 0);
Changing the above line of code to:
this.windowHandle = glfwCreateWindow(this.width, this.height, this.title, 0, 0);
fixes the issue. @sriharshachilakapati should get all the credit over on LWJGL/lwjgl3#332