Beispiel #1
0
int main() {

	ofSetupOpenGL(800, 600, OF_WINDOW);

	// this replaces ofRunApp() and kicks off the running of the app
	// with the app utils
	ofRunAppWithAppUtils(new ofApp());
}
Beispiel #2
0
//========================================================================
int main( )
{
    ofAppGLFWWindow window;
    window.setMultiDisplayFullscreen(true);

    ofSetupOpenGL(&window, DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT, DEFAULT_WINDOW_MODE);

    ofRunAppWithAppUtils(new ofApp());
}
Beispiel #3
0
int main(){
#ifdef _DEBUG
	ofSetupOpenGL(1920, 1080, OF_WINDOW);
#else
	ofSetupOpenGL(1920, 1080, OF_FULLSCREEN);
#endif
	// this replaces ofRunApp() and kicks off the running of the app
	// with the app utils
	ofRunAppWithAppUtils(new ofApp());
}
Beispiel #4
0
//========================================================================
int main( ){

	ofSetupOpenGL(800,600,OF_WINDOW);			// <-------- setup the GL context

	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	ofRunAppWithAppUtils(new ofApp());

}
Beispiel #5
0
//========================================================================
int main( )
{
	ofSetupOpenGL(DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT, DEFAULT_WINDOW_MODE);
    ofRunAppWithAppUtils(new ofApp());
}