summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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