Skip to content

Instantly share code, notes, and snippets.

@Madsy
Created October 19, 2009 15:27
Show Gist options
  • Save Madsy/213457 to your computer and use it in GitHub Desktop.
Save Madsy/213457 to your computer and use it in GitHub Desktop.
for(int i=0; i<NUM_JOBS; ++i){
LoadResource(i);
glClear(GL_COLOR_BUFFER_BIT);
RenderProgress((float)i/(float)NUM_JOBS);
SwapBuffers();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment