summaryrefslogtreecommitdiff
path: root/progs/redbook/texgen.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-21 18:23:53 -0700
committerBrian Paul <brianp@vmware.com>2009-12-21 18:23:53 -0700
commitb57abd3bea29e95e5dee2524c3f1be4b26017c0f (patch)
tree8da85ef6e5ef40a4a7bd328fc574a27c2b8c0849 /progs/redbook/texgen.c
parentbf064ce0c31abb036fc035c59fdc1134705a5e3f (diff)
parente46ad402f1fecf0fc8d2538eb5abbdde97484799 (diff)
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h
Diffstat (limited to 'progs/redbook/texgen.c')
-rw-r--r--progs/redbook/texgen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/progs/redbook/texgen.c b/progs/redbook/texgen.c
index 7c1802a3be..5cb97e5a43 100644
--- a/progs/redbook/texgen.c
+++ b/progs/redbook/texgen.c
@@ -60,7 +60,7 @@ GLubyte stripeImage[4*stripeImageWidth];
static GLuint texName;
#endif
-void makeStripeImage(void)
+static void makeStripeImage(void)
{
int j;
@@ -79,7 +79,7 @@ static GLfloat *currentCoeff;
static GLenum currentPlane;
static GLint currentGenMode;
-void init(void)
+static void init(void)
{
glClearColor (0.0, 0.0, 0.0, 0.0);
glEnable(GL_DEPTH_TEST);
@@ -122,7 +122,7 @@ void init(void)
glMaterialf (GL_FRONT, GL_SHININESS, 64.0);
}
-void display(void)
+static void display(void)
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
@@ -136,7 +136,7 @@ void display(void)
glFlush();
}
-void reshape(int w, int h)
+static void reshape(int w, int h)
{
glViewport(0, 0, (GLsizei) w, (GLsizei) h);
glMatrixMode(GL_PROJECTION);
@@ -152,7 +152,7 @@ void reshape(int w, int h)
}
/* ARGSUSED1 */
-void keyboard (unsigned char key, int x, int y)
+static void keyboard (unsigned char key, int x, int y)
{
switch (key) {
case 'e':