#include "ofMain.h" #include "testApp.h" #include "ofAppGlutWindow.h" //linux includes #include // Includes for Mac OSX /* #include #include #include / //Includes for Windows #include #include #include #include */ //======================================================================== int main( ){ ofAppGlutWindow window; ofSetupOpenGL(&window, 600,600, OF_WINDOW); // <-------- setup the GL context glutIgnoreKeyRepeat(1); //only works on linux? printf("key repeat ignore: %i\n",glutDeviceGet(GLUT_DEVICE_IGNORE_KEY_REPEAT)); // this kicks off the running of my app // can be OF_WINDOW or OF_FULLSCREEN // pass in width and height too: //window.setFrameRate(200.0f); ofRunApp( new testApp()); }