How to get? the GLSL and OpenGL version.

You can get version from the OpenGL and GL Shading program by:

If don’t initialize the OpenGL you can get it:

Let’s try one simple example.

The output will be print on the shell.


born 1976, Falticeni , Suceava , Romania
Posted in Linux, OpenGL, Programming. Tagged with , , .