blob: 3eb78b7b23246faeae4e850c2fd702cf6ba7c6e7 (
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,700);
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();
}
|