Ticket #56260: patch-index-gdkglshapes-osx.diff

File patch-index-gdkglshapes-osx.diff, 416 bytes (added by jbuencuerpo, 6 years ago)

patch to gdk/gdkglshapes.c

  • gdk/gdkglshapes.c

    old new  
    549549  {-Z, -X, 0}
    550550};
    551551
    552 static int index[20][3] =
     552static int bindex[20][3] =
    553553{
    554554  {0, 4, 1},
    555555  {0, 9, 4},
     
    579579  int i;
    580580
    581581  for (i = 19; i >= 0; i--) {
    582     drawtriangle(i, idata, index, shadeType);
     582    drawtriangle(i, idata, bindex, shadeType);
    583583  }
    584584}
    585585