I need to know if my OpenGL version can handle shaders. But when I try to print the version of OpenGL, it doedn't print anything.
cout<<glGetString(GL_VERSION)<<endl;
What is wrong here?
I need to know if my OpenGL version can handle shaders. But when I try to print the version of OpenGL, it doedn't print anything.
cout<<glGetString(GL_VERSION)<<endl;
What is wrong here?
Start from here: http://open.gl/context (learn about context creation, getting a basic, modern OGL program running)
Use a debugger.