c++ - Glew does not init -
i using following code check error:
glfwinit(); glewexperimental = gl_true; if (glewinit() != 0) { std::cout << "failed initialize glew" << std::endl; return -1; }
i using non static version of glew , have included .dll file in debug folder. using visual studio community 2013. other solutions suggested set glewexperimental gl_true or check error checking, have done , still not work.
you don't have gl context glfwinit()
, glew has nothing work on. must create gl context , make current thread, glfw implies creating window.
Comments
Post a Comment