#include "ofMain.h" #include "testApp.h" #include "ofAppGlutWindow.h" // Includes for Mac OSX #include #include #include /* //Includes for Windows #include #include #include #include */ //======================================================================== int main( ){ ofAppGlutWindow window; ofSetupOpenGL(&window, 512,512, OF_WINDOW); // <-------- setup the GL context glutIgnoreKeyRepeat(1); glutSetKeyRepeat(GLUT_KEY_REPEAT_OFF); //these don't work!!! 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()); }