Skip to content

Instantly share code, notes, and snippets.

@zeroeth
Created December 1, 2014 02:31
Show Gist options
  • Select an option

  • Save zeroeth/950cbf1529a287ae0aef to your computer and use it in GitHub Desktop.

Select an option

Save zeroeth/950cbf1529a287ae0aef to your computer and use it in GitHub Desktop.
gl version check
// get version info
const GLubyte* renderer = glGetString (GL_RENDERER); // get renderer string
const GLubyte* version = glGetString (GL_VERSION); // version as a string
printf ("Renderer: %s\n", renderer);
printf ("OpenGL version supported %s\n", version);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment