PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/main.cpp

http://github.com/mazbox/Speakotron
C++ | 19 lines | 10 code | 5 blank | 4 comment | 0 complexity | fab9c7560c4012d845b70b9a216c83b0 MD5 | raw file
 1#include "ofMain.h"
 2#include "testApp.h"
 3#include "ofAppGlutWindow.h"
 4
 5//========================================================================
 6int main( ){
 7
 8    ofAppGlutWindow window;
 9	window.setGlutDisplayString("rgba double samples>=4 depth");
10	ofSetupOpenGL(&window, 1024,768, OF_WINDOW);			// <-------- setup the GL context
11
12	// this kicks off the running of my app
13	// can be OF_WINDOW or OF_FULLSCREEN
14	// pass in width and height too:
15	testApp *app = new testApp();
16
17	ofRunApp(app);
18
19}