summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2011-10-24 01:19:07 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2011-10-24 01:19:07 (GMT)
commitcbde518369b906febe816b199fd8e9d4d75231c0 (patch)
tree0952a6fe8b5dfa056ff3a5a5a5b06d6866e82d42
parent9afee60563930bd75fa559306bd997c81c622da8 (diff)
fix windows compile (glew.h / gl.h issue)
-rw-r--r--tests/OffscreenContextWGL.cc3
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
contact: Jan Huwald // Impressum