|
|
|
|
|
|
|
|
//======================================================================== |
|
|
//======================================================================== |
|
|
int main( ){ |
|
|
int main( ){ |
|
|
|
|
|
|
|
|
ofSetupOpenGL(1000,1000, OF_WINDOW); // <-------- setup the GL context |
|
|
|
|
|
ofGLFWWindowSettings settings; |
|
|
ofGLFWWindowSettings settings; |
|
|
settings.setGLVersion(3, 2); |
|
|
settings.setGLVersion(3, 2); |
|
|
settings.setSize(1280, 800); |
|
|
settings.setSize(1280, 800); |
|
|
ofCreateWindow(settings); |
|
|
ofCreateWindow(settings); |
|
|
|
|
|
ofSetupOpenGL(1000, 1000, OF_WINDOW); // <-------- setup the GL context |
|
|
ofRunApp(new ofApp()); |
|
|
ofRunApp(new ofApp()); |
|
|
|
|
|
|
|
|
|
|
|
|