blob: d9d6188ede575838d6e34c88aaf6d45dc8096beb (
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[]){
ofGLFWWindowSettings settings;
settings.decorated = true;
settings.setSize(400,400);
settings.setPosition(ofVec2f(100,100));
settings.resizable = false;
shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings);
mainWindow->setVerticalSync(false);
shared_ptr<ofApp> mainApp(new ofApp);
ofRunApp(mainWindow, mainApp);
ofRunMainLoop();
}
|