Skip to content

Instantly share code, notes, and snippets.

@bakercp
Created November 27, 2012 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bakercp/4152988 to your computer and use it in GitHub Desktop.
Save bakercp/4152988 to your computer and use it in GitHub Desktop.
#include "ofMain.h"
#include "testApp.h"
//========================================================================
int main( ){
ofSetupOpenGL(1024,768, OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp( new testApp());
}
@bakercp
Copy link
Author

bakercp commented Nov 27, 2012

include "ofMain.h"

include "testApp.h"

//========================================================================
int main( ){

ofSetupOpenGL(1024,768, OF_WINDOW);         // <-------- setup the GL context

// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp( new testApp());

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment