blob: 851c933693e23f8f7c591d6cc2a8b9e4be114ad1 (
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(800,600);
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();
}
|