diff options
author | don bright <hugh.m.bright@gmail.com> | 2011-10-24 01:19:07 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2011-10-24 01:19:07 (GMT) |
commit | cbde518369b906febe816b199fd8e9d4d75231c0 (patch) | |
tree | 0952a6fe8b5dfa056ff3a5a5a5b06d6866e82d42 | |
parent | 9afee60563930bd75fa559306bd997c81c622da8 (diff) |
fix windows compile (glew.h / gl.h issue)
-rw-r--r-- | tests/OffscreenContextWGL.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/OffscreenContextWGL.cc b/tests/OffscreenContextWGL.cc index 6e202a4..3b966e2 100644 --- a/tests/OffscreenContextWGL.cc +++ b/tests/OffscreenContextWGL.cc @@ -13,7 +13,6 @@ For more info: #include <windows.h> #include <vector> -#include <GL/gl.h> #include "OffscreenContext.h" #include "printutils.h" @@ -21,6 +20,8 @@ For more info: #include "system-gl.h" #include "fbo.h" +#include <GL/gl.h> // must be included after glew.h + using namespace std; struct OffscreenContext |