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); } }