annotate newOFsrc/main.cpp @ 12:e148d1534733 tip

adding new max player
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Fri, 09 Mar 2012 20:42:34 +0000
parents c49a8f33afab
children
rev   line source
andrew@2 1 #include "ofMain.h"
andrew@2 2 #include "testApp.h"
andrew@2 3 #include "ofAppGlutWindow.h"
andrew@2 4
andrew@2 5 //========================================================================
andrew@2 6 int main( ){
andrew@2 7
andrew@2 8 ofAppGlutWindow window;
andrew@2 9 ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context
andrew@2 10
andrew@2 11 // this kicks off the running of my app
andrew@2 12 // can be OF_WINDOW or OF_FULLSCREEN
andrew@2 13 // pass in width and height too:
andrew@2 14 ofRunApp( new testApp());
andrew@2 15
andrew@2 16 }