Skip to content

Instantly share code, notes, and snippets.

@bosmacs
Created April 26, 2012 14:03
Show Gist options
  • Save bosmacs/2499834 to your computer and use it in GitHub Desktop.
Save bosmacs/2499834 to your computer and use it in GitHub Desktop.
Check CGL for software fallback
GLint gpuVertex, gpuFragment;
CGLGetParameter(CGLGetCurrentContext(), kCGLCPGPUVertexProcessing, &gpuVertex);
CGLGetParameter(CGLGetCurrentContext(), kCGLCPGPUFragmentProcessing, &gpuFragment);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment