summaryrefslogtreecommitdiffstats
path: root/progs/samples/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/samples/wave.c')
-rw-r--r--progs/samples/wave.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/progs/samples/wave.c b/progs/samples/wave.c
index 187c590000d..288bea4eb72 100644
--- a/progs/samples/wave.c
+++ b/progs/samples/wave.c
@@ -128,7 +128,7 @@ static void Animate(void)
glColor3fv(facet->color);
} else {
thisColor = facet->color;
- glMaterialfv(GL_FRONT_AND_BACK, GL_COLOR_INDEXES,
+ glMaterialfv(GL_FRONT_AND_BACK, GL_COLOR_INDEXES,
facet->color);
}
} else {
@@ -182,7 +182,7 @@ static void Animate(void)
}
}
-static void SetColorMap(void)
+static void SetColorMap(void)
{
static float green[3] = {0.2, 1.0, 0.2};
static float red[3] = {1.0, 0.2, 0.2};
@@ -360,7 +360,7 @@ static void InitMaterials(void)
glLightModelfv(GL_LIGHT_MODEL_TWO_SIDE, lmodel_twoside);
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);
-
+
glMaterialfv(GL_FRONT, GL_SHININESS, front_mat_shininess);
glMaterialfv(GL_FRONT, GL_SPECULAR, front_mat_specular);
glMaterialfv(GL_FRONT, GL_DIFFUSE, front_mat_diffuse);
@@ -394,7 +394,7 @@ static void Init(void)
glClearColor(0.0, 0.0, 0.0, 0.0);
glShadeModel(GL_FLAT);
-
+
glFrontFace(GL_CW);
glEnable(GL_DEPTH_TEST);
@@ -515,7 +515,7 @@ static GLenum Args(int argc, char **argv)
GLint i;
rgb = GL_TRUE;
- doubleBuffer = GL_FALSE;
+ doubleBuffer = GL_TRUE;
frames = 10;
widthX = 10;
widthY = 10;