The problem is that GLEW is initialized before OpenGL context is created and made current.
You should call glewInit()
after glfwMakeContextCurrent()
function.
The problem is that GLEW is initialized before OpenGL context is created and made current.
You should call glewInit()
after glfwMakeContextCurrent()
function.