annotate main.mm @ 52:89944ab3e129 tip

fix oF linker errors ios8
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Tue, 03 Feb 2015 13:18:23 +0000
parents 8d7ae43b2edd
children
rev   line source
rt300@0 1 #include "ofMain.h"
rt300@0 2
rt300@0 3 #include "ofAppiOSWindow.h"
rt300@0 4 #include "testApp.h"
rt300@0 5
rt300@0 6 int main(){
rt300@0 7 ofAppiOSWindow * window = new ofAppiOSWindow();
rt300@26 8 window->enableHardwareOrientation();
rt300@26 9 window->enableOrientationAnimation();
rt300@0 10 window->enableAntiAliasing(4);
rt300@25 11 window->enableDepthBuffer();
rt300@0 12 window->enableRetina();
rt300@0 13
rt300@0 14 ofSeedRandom();
rt300@0 15
rt300@0 16 ofSetupOpenGL(window, 768, 1024,OF_FULLSCREEN);
rt300@0 17 ofRunApp(new testApp);
rt300@0 18 }
rt300@0 19
rt300@0 20