aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtkglext/gtkglext-local-parm.patch
blob: 5320394e0aeefd5888c20e6ea58b5471b772b7e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
   }
 }