Commit da32c4f7bd66a0d520d68540170ae1f07206a8d5
1 parent
e3e0daf3
change includes to work on different architectures
Showing
1 changed file
with
10 additions
and
2 deletions
Show diff stats
stim/cuda/cudatools/glbind.h
@@ -2,8 +2,16 @@ | @@ -2,8 +2,16 @@ | ||
2 | #define RTS_GL_BIND_H | 2 | #define RTS_GL_BIND_H |
3 | 3 | ||
4 | //#include <GL/glew.h> | 4 | //#include <GL/glew.h> |
5 | -#include <GL/GL.h> | ||
6 | -#include <GL/GLU.h> | 5 | +#ifdef WIN32 |
6 | + #include <GL/GL.h> | ||
7 | + #include <GL/GLU.h> | ||
8 | +#else | ||
9 | + #include <GL/gl.h> | ||
10 | + #include <GL/glu.h> | ||
11 | + | ||
12 | +#endif | ||
13 | + | ||
14 | + | ||
7 | 15 | ||
8 | #include <stdio.h> | 16 | #include <stdio.h> |
9 | #include <cstring> | 17 | #include <cstring> |