summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-01-09 16:36:57 +0000
committerTim Redfern <tim@eclectronics.org>2012-01-09 16:36:57 +0000
commit7ff3ebe50cd272176daff0de4aee32c1dc0f3320 (patch)
tree0dbebbef6fe8688bf9ac98f415b542b1e100bda6 /src/main.cpp
parentc63227ab08ef1caa5efe957d6f9472387c9481ae (diff)
xmlising settings
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ac9bc8c..57716da 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,20 +2,16 @@
#include "testApp.h"
#include "ofAppGlutWindow.h"
-// Includes for Mac OSX
-
-#include <GLUT/glut.h>
-#include <OpenGL/gl.h>
-#include <OpenGL/glu.h>
-
-/*
- //Includes for Windows
-
+#ifdef TARGET_OSX
+ #include <GLUT/glut.h>
+ #include <OpenGL/gl.h>
+ #include <OpenGL/glu.h>
+#else
#include <GL/glew.h>
#include <GL/glut.h>
#include <GL/freeglut.h>
#include <iostream>
- */
+#endif
//========================================================================
int main( ){