Mercurial > hg > tweakathon2ios
view main.mm @ 27:27cdf475aa4b
more fiddling
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 29 Oct 2014 15:38:38 +0000 |
parents | 8d7ae43b2edd |
children |
line wrap: on
line source
#include "ofMain.h" #include "ofAppiOSWindow.h" #include "testApp.h" int main(){ ofAppiOSWindow * window = new ofAppiOSWindow(); window->enableHardwareOrientation(); window->enableOrientationAnimation(); window->enableAntiAliasing(4); window->enableDepthBuffer(); window->enableRetina(); ofSeedRandom(); ofSetupOpenGL(window, 768, 1024,OF_FULLSCREEN); ofRunApp(new testApp); }