Browse Source

Haiku: fix the glew.c hack

Kostadin Damyanov 10 years ago
parent
commit
f61eb5fd8e
1 changed files with 5 additions and 1 deletions
  1. 5 1
      drivers/gl_context/glew.c

+ 5 - 1
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>