summaryrefslogtreecommitdiff
path: root/drivers/gl_context
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gl_context')
-rw-r--r--drivers/gl_context/glew.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gl_context/glew.c b/drivers/gl_context/glew.c
index fc0aa28a72..962e82b657 100644
--- a/drivers/gl_context/glew.c
+++ b/drivers/gl_context/glew.c
@@ -1,3 +1,7 @@
+#ifdef __HAIKU__
+ #undef GLEW_ENABLED
+#endif
+
#ifdef GLEW_ENABLED
/*
** The OpenGL Extension Wrangler Library