#include "ofMain.h"
#include "ofApp.h"

int main()
{
#ifdef TARGET_RASPBERRY_PI
	ofSetupOpenGL(600, 500, OF_FULLSCREEN);
#else
    ofSetupOpenGL(600, 500, OF_WINDOW);
#endif
	ofRunApp(new ofApp());
}
#include "ofMain.h"
#include "ofApp.h"
#include <string>

#ifdef TARGET_RASPBERRY_PI
// Accept arguments in the Pi version
int main(int argc, char* argv[]) {
  
  bool fullscreen = false;
  
  if (argc > 0) {
    std::string fullscreenFlag = "-f";
    for (int i = 0; i < argc; i++) {
      if (strcmp(argv[i], fullscreenFlag.c_str()) == 0) {
        fullscreen = true;
        break;
      }
    }
  }
  
  if (fullscreen) {
    ofSetupOpenGL(600, 500, OF_FULLSCREEN);
  } else {
    ofSetupOpenGL(800, 450, OF_WINDOW);
  }
  
  ofRunApp(new ofApp());
}
#else
int main() {
  ofSetupOpenGL(800, 600, OF_WINDOW);
  ofRunApp(new ofApp());
}
#endif

Add -f flag option to RPi version of he example
Add -f flag option to RPi version of he example
