Browse Source

Refactor a bit

master
Krisjanis Rijnieks 10 years ago
parent
commit
0b94deef23
  1. 5
      example/src/main.cpp

5
example/src/main.cpp

@ -3,7 +3,7 @@
#include <string>
#ifdef TARGET_RASPBERRY_PI
// Accept arguments in the Pi version
int main(int argc, char* argv[]) {
bool fullscreen = false;
@ -26,9 +26,12 @@ int main(int argc, char* argv[]) {
ofRunApp(new ofApp());
}
#else
int main() {
ofSetupOpenGL(800, 600, OF_WINDOW);
ofRunApp(new ofApp());
}
#endif

Loading…
Cancel
Save