patched to silence compiler warnings (Martin Lindhe)

This commit is contained in:
Brian Paul
2000-11-10 17:23:02 +00:00
parent 8e3366fda7
commit db6aa58267
14 changed files with 25 additions and 25 deletions

View File

@@ -186,8 +186,8 @@ static void SetColorMap(void)
{
static float green[3] = {0.2, 1.0, 0.2};
static float red[3] = {1.0, 0.2, 0.2};
float *color, percent;
GLint *indexes, entries, i, j;
float *color = 0, percent;
GLint *indexes = 0, entries, i, j;
entries = glutGet(GLUT_WINDOW_COLORMAP_SIZE);