Это не работает, и дает ошибку:
Код: Выделить всё
FATAL ERROR in native method: Thread[#1,main,5,main]: No context is current or a function that is not available in the current context was called. The JVM will abort execution.Я уже разместил эти две строки кода:
GLFW.glfwMakeContextCurrent(window);
GL.createCapabilities();
< /code>
перед использованием этого < /p>
GL30.glGenVertexArrays();
< /code>
он все еще не работал. Можете ли вы дать какие -либо предложения или любую помощь?
Подробнее здесь: https://stackoverflow.com/questions/796 ... rtexarrays