1

I'm learning GLSL. I tried to use a function glCreateShader. but there is no glCreateShader function. as i know, glCreateShader function is available in Opengl2.0

How can I use Opengl 2.0 in Visual studio 2010 c++ win32 project?

1 Answer 1

4

I would advice that you use an extension library such as GLEW. When including its header, you will find all the functions you'll need. And what's more, you can easily check which extensions are available on your platform.

Not the answer you're looking for? Browse other questions tagged or ask your own question.