diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-22 20:06:39 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-22 20:06:39 +0000 |
commit | aca48d4468c7360eebe114372261237dfd326366 (patch) | |
tree | 0a16251dfd7bd3edd37c8da55a753fc501c33c4c /dist/Mesa/progs/redbook/robot.c | |
parent | be5e6de483520135642d4178eb0e9e91f86d9555 (diff) |
Update to Mesa 7.8.1. Tested on a bulk ports build by naddy@, ok oga@.
Diffstat (limited to 'dist/Mesa/progs/redbook/robot.c')
-rw-r--r-- | dist/Mesa/progs/redbook/robot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/Mesa/progs/redbook/robot.c b/dist/Mesa/progs/redbook/robot.c index 94e20ac71..c90b72ab3 100644 --- a/dist/Mesa/progs/redbook/robot.c +++ b/dist/Mesa/progs/redbook/robot.c @@ -47,13 +47,13 @@ static int shoulder = 0, elbow = 0; -void init(void) +static void init(void) { glClearColor (0.0, 0.0, 0.0, 0.0); glShadeModel (GL_FLAT); } -void display(void) +static void display(void) { glClear (GL_COLOR_BUFFER_BIT); glPushMatrix(); @@ -77,7 +77,7 @@ void display(void) glutSwapBuffers(); } -void reshape (int w, int h) +static void reshape (int w, int h) { glViewport (0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode (GL_PROJECTION); @@ -89,7 +89,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 's': |