andrew@3: #include "ofMain.h" andrew@3: #include "testApp.h" andrew@3: #include "ofAppGlutWindow.h" andrew@3: andrew@3: //======================================================================== andrew@3: int main( ){ andrew@3: andrew@3: ofAppGlutWindow window; andrew@3: ofSetupOpenGL(&window, 640,480, OF_WINDOW); // <-------- setup the GL context andrew@3: andrew@3: // this kicks off the running of my app andrew@3: // can be OF_WINDOW or OF_FULLSCREEN andrew@3: // pass in width and height too: andrew@3: ofRunApp( new testApp()); andrew@3: andrew@3: }