21 lines
585 B
C++
21 lines
585 B
C++
#include "ofMain.h"
|
|
#include "ofApp.h"
|
|
|
|
//========================================================================
|
|
int main(){
|
|
#ifdef OF_TARGET_OPENGLES
|
|
ofGLESWindowSettings settings;
|
|
//settings.setSize(1920, 1080);
|
|
settings.glesVersion = 2;
|
|
#else
|
|
ofGLWindowSettings settings;
|
|
settings.setSize(1920, 1080);
|
|
settings.setGLVersion(3, 2);
|
|
#endif
|
|
ofCreateWindow(settings);
|
|
|
|
// this kicks off the running of my app
|
|
// can be OF_WINDOW or OF_FULLSCREEN
|
|
// pass in width and height too:
|
|
ofRunApp(new ofApp());
|
|
}
|