Skip to content

Instantly share code, notes, and snippets.

@halferty
Created March 31, 2016 04:30
Show Gist options
  • Select an option

  • Save halferty/0551f74ecdf1ca6832d910b2139efa69 to your computer and use it in GitHub Desktop.

Select an option

Save halferty/0551f74ecdf1ca6832d910b2139efa69 to your computer and use it in GitHub Desktop.
gl grab function pointer
void (*glGenBuffers)(GLsizei n, GLuint * buffers) = (void (*)(GLsizei, GLuint *))wglGetProcAddress("glGenBuffers");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment