summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-31 07:07:17 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-31 07:07:17 +0000
commit490f9f30e6729e2e5bda983729ba3d9afc9ae855 (patch)
tree61fb6a99ee3f3bb0c77b7ce2f355362a455f45a7 /games-sports/trigger/files
parentadded ~ppc64 (bug #100058) (diff)
downloadgentoo-2-490f9f30e6729e2e5bda983729ba3d9afc9ae855.tar.gz
gentoo-2-490f9f30e6729e2e5bda983729ba3d9afc9ae855.tar.bz2
gentoo-2-490f9f30e6729e2e5bda983729ba3d9afc9ae855.zip
update patch by Bernard Cafarelli to allow 1.1+ capabilities with 2.x providers
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-sports/trigger/files')
-rw-r--r--games-sports/trigger/files/trigger-0.5.1c-glx-check.patch9
1 files changed, 8 insertions, 1 deletions
diff --git a/games-sports/trigger/files/trigger-0.5.1c-glx-check.patch b/games-sports/trigger/files/trigger-0.5.1c-glx-check.patch
index 6eaef541beff..185a407b0fb7 100644
--- a/games-sports/trigger/files/trigger-0.5.1c-glx-check.patch
+++ b/games-sports/trigger/files/trigger-0.5.1c-glx-check.patch
@@ -4,7 +4,7 @@ http://bugs.gentoo.org/100374
--- src/pengine/glew.c
+++ src/pengine/glew.c
-@@ -5737,7 +5737,7 @@
+@@ -5737,13 +5737,13 @@
s = glGetString(GL_VERSION);
if (!s) return GLEW_ERROR_NO_GL_VERSION;
i = _glewStrCLen(s, '.')+1;
@@ -13,3 +13,10 @@ http://bugs.gentoo.org/100374
{
return GLEW_ERROR_GL_VERSION_10_ONLY;
}
+ else
+ {
+- if (s[i] >= '5')
++ if (s[0] >= '2' || s[i] >= '5')
+ {
+ GLEW_VERSION_1_1 = GL_TRUE;
+ GLEW_VERSION_1_2 = GL_TRUE;