Skip to content

Commit c9e7c2c

Browse files
rootroot
authored andcommitted
Added lib. Updated example for raspberry pi. Addresses #33
1 parent e57bb2d commit c9e7c2c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

example_client_hello_world/src/main.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44

55
//========================================================================
66
int main( ){
7-
7+
#ifndef TARGET_LINUX_ARM
88
ofAppGlutWindow window;
99
ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context
10-
10+
#else
11+
ofSetupOpenGL(1024,768, OF_WINDOW);
12+
#endif
13+
1114
// this kicks off the running of my app
1215
// can be OF_WINDOW or OF_FULLSCREEN
1316
// pass in width and height too:
114 KB
Binary file not shown.

0 commit comments

Comments
 (0)