當我運行這個時,窗口彈出,我看到了這個。 (When I run the game, I see this) 如果你只是做一個新的Java項目,進口的OpenGL,GLFW和LWJGL,與當地人一起,然後複製這個代碼可以重現(刪除包) package net.nathanthesnooper.timetraveller;
import static org.lwjgl.glfw.GLFW.*;
我注意到,最近,當我跑我LibGDX遊戲需要一個很好的20秒開機這是奇怪,因爲我只裝了幾個資源。我把斷點在我的主要方法,準確判斷應用程序被卡住,而且事實證明,當我把這個線它卡住: new Lwjgl3Application(new GdxGame(), config); 在Lwjgl3Application構造,它是掛在調用此方法: initializeGlfw(); ,看起來像這樣: stati