summaryrefslogtreecommitdiff
path: root/gui/src/main.cpp
blob: 072f40690f34953e176dc7d71a77e5d30e61fbec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "ofMain.h"
#include "ofApp.h"

//========================================================================
int main(int argc, char *argv[]){
	ofSetupOpenGL(1600,200,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:
	ofApp *app = new ofApp();
    
    app->arguments = vector<string>(argv, argv + argc);
    
	ofRunApp(app); // start the app


}