summaryrefslogtreecommitdiff
path: root/src/glview.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-11-28 00:41:36 (GMT)
committerMarius Kintel <marius@kintel.net>2011-11-28 00:41:36 (GMT)
commitcd33efb4edbfc126df3c62baaec0af7648b114ab (patch)
tree931fe1b818057f2d39a2badefeadde8002f1572f /src/glview.cc
parent01f1a2f9cfeab276e5e0b51f47a72c9019478f7f (diff)
GLXEW mixed with eigen2 causes weird compiler errors. This is a temporary fix
Diffstat (limited to 'src/glview.cc')
-rw-r--r--src/glview.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glview.cc b/src/glview.cc
index 4360396..b3ac966 100644
--- a/src/glview.cc
+++ b/src/glview.cc
@@ -46,6 +46,12 @@
# include <opencsg.h>
#endif
+#ifdef _WIN32
+#include <GL/wglew.h>
+#elif !defined(__APPLE__)
+#include <GL/glxew.h>
+#endif
+
#define FAR_FAR_AWAY 100000.0
GLView::GLView(QWidget *parent) : QGLWidget(parent), renderer(NULL)
contact: Jan Huwald // Impressum