summaryrefslogtreecommitdiff
path: root/shader.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-05-17 00:35:21 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-05-17 00:35:21 +0200
commit69ba0b04619ca6e32517b52c120241ff7762fce2 (patch)
treef758ca10d9ffcb51b9d9ef03515e29033656a0cd /shader.h
parented802f4fa92e3107b362b8d0daa6394ebdcd6d52 (diff)
Fixed OS X support.
Diffstat (limited to 'shader.h')
-rw-r--r--shader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/shader.h b/shader.h
index d2ec9d4..012165a 100644
--- a/shader.h
+++ b/shader.h
@@ -4,8 +4,13 @@
#include <iostream>
#include <string>
#define GL_GLEXT_PROTOTYPES
+#ifndef __APPLE__
#include <GL/gl.h>
#include <GL/glu.h>
+#else
+#include <OpenGL/gl.h>
+#include <OpenGL/glu.h>
+#endif
class GLBaseShader {
friend class GLShaderProgram;