summaryrefslogtreecommitdiff
path: root/external/glew/glew-ios.patch.1
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-08 13:54:53 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-08 14:45:49 +0300
commitd3f63d4b3d75d5e1b0df3281a1bdf7be1729288e (patch)
tree628429abb19ef4501fa36770841ddd49553ab284 /external/glew/glew-ios.patch.1
parent65b27f8d1c23692426c9d90f546462b9e43fec24 (diff)
No glu.h in OpenGL ES for iOS
Change-Id: Ie0eb1f68d997c4f2bd37c9d7c2ff6feccbc7b8ce
Diffstat (limited to 'external/glew/glew-ios.patch.1')
-rw-r--r--external/glew/glew-ios.patch.114
1 files changed, 14 insertions, 0 deletions
diff --git a/external/glew/glew-ios.patch.1 b/external/glew/glew-ios.patch.1
new file mode 100644
index 000000000000..9253ed3a771d
--- /dev/null
+++ b/external/glew/glew-ios.patch.1
@@ -0,0 +1,14 @@
+-*- Mode:Diff -*-
+--- glew/include/GL/glew.h
++++ glew/include/GL/glew.h
+@@ -1180,6 +1180,10 @@
+
+ /* ---------------------------------- GLU ---------------------------------- */
+
++#if !defined(GLEW_NO_GLU) && defined(__APPLE__) && defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
++#define GLEW_NO_GLU
++#endif
++
+ #ifndef GLEW_NO_GLU
+ /* this is where we can safely include GLU */
+ # if defined(__APPLE__) && defined(__MACH__)