topical media & game development 
  
 
 
 
 
  
    
    
  
 lib-of-vs-apps-examples-windowExample-src-main.cpp / cpp
  include <ofMain.h>
  include <testApp.h>
  include <ofAppGlutWindow.h>
  
  //========================================================================
  int main( ){
  
      ofAppGlutWindow window;
          ofSetupOpenGL(&window, 300, 300, OF_WINDOW);                        // <-------- setup the GL context
  
          // this kicks off the running of my app
          // can be OF_WINDOW or OF_FULLSCREEN
          // pass in width and height too:
          ofRunApp( new testApp());
  
  }
  
  
  
(C) Æliens 
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.