summaryrefslogtreecommitdiff
path: root/drivers/gl_context
diff options
context:
space:
mode:
authorKostadin Damyanov <maxmight@gmail.com>2015-06-26 21:32:57 +0300
committerKostadin Damyanov <maxmight@gmail.com>2015-06-26 21:32:57 +0300
commitf61eb5fd8e13642c82364f8ee66a0f6c791a4511 (patch)
tree721e9e8073be8912e680928e9c3a78f0d37d256a /drivers/gl_context
parent7ad89c7e8383144292609f857803a4c57f852259 (diff)
Haiku: fix the glew.c hack
Diffstat (limited to 'drivers/gl_context')
-rw-r--r--drivers/gl_context/glew.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gl_context/glew.c b/drivers/gl_context/glew.c
index e38942de4f..962e82b657 100644
--- a/drivers/gl_context/glew.c
+++ b/drivers/gl_context/glew.c
@@ -1,4 +1,8 @@
-#ifndef GLEW_ENABLED
+#ifdef __HAIKU__
+ #undef GLEW_ENABLED
+#endif
+
+#ifdef GLEW_ENABLED
/*
** The OpenGL Extension Wrangler Library
** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>