blob: 7e4ac16e5bafb230409f9f4a852c65252fe3cd3c (
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(1330,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();
}
|