aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtkglext/gtkglext-local-parm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gtkglext/gtkglext-local-parm.patch')
-rw-r--r--main/gtkglext/gtkglext-local-parm.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/gtkglext/gtkglext-local-parm.patch b/main/gtkglext/gtkglext-local-parm.patch
new file mode 100644
index 0000000000..5320394e0a
--- /dev/null
+++ b/main/gtkglext/gtkglext-local-parm.patch
@@ -0,0 +1,20 @@
+--- a/gdk/gdkglshapes.c
++++ b/gdk/gdkglshapes.c
+@@ -544,7 +544,7 @@
+ {-Z, -X, 0}
+ };
+
+-static int index[20][3] =
++static int loc_index[20][3] =
+ {
+ {0, 4, 1},
+ {0, 9, 4},
+@@ -574,7 +574,7 @@
+ int i;
+
+ for (i = 19; i >= 0; i--) {
+- drawtriangle(i, idata, index, shadeType);
++ drawtriangle(i, idata, loc_index, shadeType);
+ }
+ }
+