diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-17 00:35:21 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-17 00:35:21 +0200 |
commit | 69ba0b04619ca6e32517b52c120241ff7762fce2 (patch) | |
tree | f758ca10d9ffcb51b9d9ef03515e29033656a0cd /shader.h | |
parent | ed802f4fa92e3107b362b8d0daa6394ebdcd6d52 (diff) |
Fixed OS X support.
Diffstat (limited to 'shader.h')
-rw-r--r-- | shader.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |