diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-03-23 01:41:25 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-03-23 01:41:25 +0000 |
| commit | ec078a99e2924c1709242f981651409f7ae9e940 (patch) | |
| tree | 53c9f71aa378ebaaf24aa77c9624e18803bbaeed /src/main.cpp | |
| parent | 79c3cd01ef47524e80bd2d242807ad60c5de1e0d (diff) | |
working with arduino
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 209de67..5320f44 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,7 +17,7 @@ int main( ){ ofAppGlutWindow window; - ofSetupOpenGL(&window, 2048,768, OF_FULLSCREEN); // <-------- setup the GL context + ofSetupOpenGL(&window, 3840,720, OF_FULLSCREEN); // <-------- setup the GL context //ofSetupOpenGL(&window, 1024,300, OF_WINDOW); glutIgnoreKeyRepeat(1); glutSetKeyRepeat(GLUT_KEY_REPEAT_OFF); //these don't work!!! @@ -25,7 +25,7 @@ int main( ){ // 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); + window.setFrameRate(50.0f); ofRunApp( new testApp()); } |
