Ejemplo n.º 1
0
//========================================================================
int main()
{
    ovr_InitializeRenderingShim();
    ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);
    
    ofSetupOpenGL(1200, 800, OF_WINDOW);
    ofRunApp( new ofApp()) ; // start the app
}
Ejemplo n.º 2
0
//========================================================================
int main( ){
    
    ovr_InitializeRenderingShim();

    ofSetupOpenGL(1024,768,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:
	ofRunApp(new ofApp());

}