rt300@0: #include "ofMain.h" rt300@0: #include "testApp.h" rt300@0: #include "globalForces.h" rt300@0: rt300@0: GlobalForces globalForces; rt300@0: GlobalUI globalUI; rt300@0: rt300@0: int main(){ rt300@0: //ofSetupOpenGL(480,320, OF_FULLSCREEN); // <-------- setup the GL context rt300@15: //ofSetupOpenGL(1024,768, OF_FULLSCREEN); rt300@15: //ofRunApp(new testApp); rt300@0: rt300@15: rt300@15: rt300@15: ofAppiOSWindow * window = new ofAppiOSWindow(); rt300@15: window->enableHardwareOrientation(); rt300@15: window->enableOrientationAnimation(); rt300@15: window->enableAntiAliasing(4); rt300@15: window->enableDepthBuffer(); rt300@15: window->enableRetina(); rt300@15: rt300@15: ofSeedRandom(); rt300@15: rt300@15: ofSetupOpenGL(window, 768, 1024,OF_FULLSCREEN); rt300@15: ofRunApp(new testApp); rt300@0: }