comparison main.mm @ 15:d5758530a039 tip

oF0.84 Retina, and iPhone support
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Tue, 12 May 2015 15:48:52 +0100
parents c667dfe12d47
children
comparison
equal deleted inserted replaced
14:4ba81a12b008 15:d5758530a039
5 GlobalForces globalForces; 5 GlobalForces globalForces;
6 GlobalUI globalUI; 6 GlobalUI globalUI;
7 7
8 int main(){ 8 int main(){
9 //ofSetupOpenGL(480,320, OF_FULLSCREEN); // <-------- setup the GL context 9 //ofSetupOpenGL(480,320, OF_FULLSCREEN); // <-------- setup the GL context
10 ofSetupOpenGL(1024,768, OF_FULLSCREEN); 10 //ofSetupOpenGL(1024,768, OF_FULLSCREEN);
11 ofRunApp(new testApp); 11 //ofRunApp(new testApp);
12 12
13
14
15 ofAppiOSWindow * window = new ofAppiOSWindow();
16 window->enableHardwareOrientation();
17 window->enableOrientationAnimation();
18 window->enableAntiAliasing(4);
19 window->enableDepthBuffer();
20 window->enableRetina();
21
22 ofSeedRandom();
23
24 ofSetupOpenGL(window, 768, 1024,OF_FULLSCREEN);
25 ofRunApp(new testApp);
13 } 26 }