blob: 3782f61049e82ef66b09190f6bb328ac125845f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- include/GL/glew.h.orig
+++ include/GL/glew.h
@@ -9647,7 +9647,9 @@
#ifdef GLEW_APIENTRY_DEFINED
#undef GLEW_APIENTRY_DEFINED
#undef APIENTRY
-#undef GLAPIENTRY
+/* Do not undef GLAPIENTRY here. This is a quick hack to avoid
+ undefined symbols when including glut.h just after glew.h */
+/* #undef GLAPIENTRY */
#endif
#ifdef GLEW_CALLBACK_DEFINED
|