From 31784a33a6a312a2225c6e08bbcf8f17b25ecf21 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 13 May 2014 23:32:36 +0200 Subject: [PATCH] Add fullscreen for Raspberry Pi --- example/src/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/example/src/main.cpp b/example/src/main.cpp index 6da1c65..0e0278d 100644 --- a/example/src/main.cpp +++ b/example/src/main.cpp @@ -3,6 +3,10 @@ int main() { - ofSetupOpenGL(600, 500, OF_WINDOW); +#ifdef TARGET_RASPBERRY_PI + ofSetupOpenGL(600, 500, OF_FULLSCREEN); +#else + ofSetupOpenGL(600, 500, OF_WINDOW); +#endif ofRunApp(new ofApp()); } \ No newline at end of file