2014-01-06 02:40:24 +00:00
|
|
|
#include "ofMain.h"
|
|
|
|
|
#include "testApp.h"
|
|
|
|
|
#include "ofAppGlutWindow.h"
|
|
|
|
|
|
|
|
|
|
//========================================================================
|
|
|
|
|
int main( ){
|
|
|
|
|
|
|
|
|
|
ofAppGlutWindow window;
|
2014-01-12 20:08:05 +00:00
|
|
|
ofSetupOpenGL(&window, 1400, 1024, OF_WINDOW); // <-------- setup the GL context
|
2014-01-06 02:40:24 +00:00
|
|
|
|
|
|
|
|
// this kicks off the running of my app
|
|
|
|
|
// can be OF_WINDOW or OF_FULLSCREEN
|
|
|
|
|
// pass in width and height too:
|
|
|
|
|
ofRunApp( new testApp());
|
|
|
|
|
|
|
|
|
|
}
|