comparison src/main.cpp @ 0:b299a65a3ad0

start project
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 16 Aug 2011 11:29:59 +0100
parents
children 5a11b19906c7
comparison
equal deleted inserted replaced
-1:000000000000 0:b299a65a3ad0
1 #include "ofMain.h"
2 #include "testApp.h"
3 #include "ofAppGlutWindow.h"
4
5 //========================================================================
6 int main( ){
7
8 ofAppGlutWindow window;
9 ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context
10
11 // this kicks off the running of my app
12 // can be OF_WINDOW or OF_FULLSCREEN
13 // pass in width and height too:
14 ofRunApp( new testApp());
15
16 }