From f89e359d535f34a2d552b3252ece234723a3e309 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 15 Jan 2005 14:22:56 +0000 Subject: [PATCH] Solaris fix. --- simgear/scene/sky/clouds3d/glut_shapes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.39.5