summaryrefslogtreecommitdiff
path: root/nextus/src/main.cpp
blob: df57f7201ac838250a5a5b858e3c0f79ad34e1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "ofMain.h"
#include "ofApp.h"


//========================================================================
int main(int argc, char *argv[]){


	ofGLFWWindowSettings settings;

	settings.decorated = true;

	settings.setSize(1200,900);
	settings.setPosition(ofVec2f(0,0));
	settings.resizable = false;
	
	shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings);
	mainWindow->setVerticalSync(false);

	shared_ptr<ofApp> mainApp(new ofApp);

	ofRunApp(mainWindow, mainApp);
	ofRunMainLoop();
}