From: ehofman Date: Sat, 15 Jan 2005 14:22:56 +0000 (+0000) Subject: Solaris fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f89e359d535f34a2d552b3252ece234723a3e309;p=simgear.git Solaris fix. --- diff --git a/simgear/scene/sky/clouds3d/glut_shapes.c b/simgear/scene/sky/clouds3d/glut_shapes.c index 4867e56c..6dfb82e6 100644 --- a/simgear/scene/sky/clouds3d/glut_shapes.c +++ b/simgear/scene/sky/clouds3d/glut_shapes.c @@ -512,7 +512,7 @@ static GLfloat idata[12][3] = {-Z, -X, 0} }; -static int index[20][3] = +static int iindex[20][3] = { {0, 4, 1}, {0, 9, 4}, @@ -542,7 +542,7 @@ icosahedron(GLenum shadeType) int i; for (i = 19; i >= 0; i--) { - drawtriangle(i, idata, index, shadeType); + drawtriangle(i, idata, iindex, shadeType); } }