Skip to content

Instantly share code, notes, and snippets.

@chadaustin
Created February 20, 2014 07:20
Show Gist options
  • Save chadaustin/9108523 to your computer and use it in GitHub Desktop.
Save chadaustin/9108523 to your computer and use it in GitHub Desktop.
// thread 1
wglMakeCurrent
issue draw commands...
glFinish()
wglMakeCurrent(NULL, NULL)
// thread 2
wglMakeCurrent
SwapBuffers
wglMakeCurrent(NULL, NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment