Failed to Initialize GLEW. Missing GL version

前端 未结 5 1681
-上瘾入骨i
-上瘾入骨i 2020-12-16 11:27

I\'ve tried to set up SFML 2.0 with the latest version of the qt creator, I\'ve set up SFML right and I imported a small game I wrote in visual studio. Upon compilation, I g

5条回答
  •  [愿得一人]
    2020-12-16 12:07

    At the request of user3648895, I am posting my answer outside of the comments separately.

    For those using GLFW instead of SFML, you need to call glewInit() after glfwMakeContextCurrent

提交回复
热议问题