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