Browse Source

Haiku: fix the glew.c hack

Kostadin Damyanov 10 năm trước cách đây
mục cha
commit
f61eb5fd8e
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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>