mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
23 lines
698 B
Diff
23 lines
698 B
Diff
|
|
diff --git a/drivers/gl_context/glew.h b/drivers/gl_context/glew.h
|
||
|
|
index 4eed47708f..5f937862bf 100644
|
||
|
|
--- a/drivers/gl_context/glew.h
|
||
|
|
+++ b/drivers/gl_context/glew.h
|
||
|
|
@@ -1168,12 +1168,17 @@ GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei heigh
|
||
|
|
|
||
|
|
/* ---------------------------------- GLU ---------------------------------- */
|
||
|
|
|
||
|
|
+// -- GODOT start --
|
||
|
|
+// We don't use GLU, so remove a dependency.
|
||
|
|
+#if 0
|
||
|
|
/* this is where we can safely include GLU */
|
||
|
|
#if defined(__APPLE__) && defined(__MACH__)
|
||
|
|
#include <OpenGL/glu.h>
|
||
|
|
#else
|
||
|
|
#include <GL/glu.h>
|
||
|
|
#endif
|
||
|
|
+#endif
|
||
|
|
+// -- GODOT end --
|
||
|
|
|
||
|
|
/* ----------------------------- GL_VERSION_1_2 ---------------------------- */
|
||
|
|
|