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/light.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/light.c')
-rw-r--r-- | dist/Mesa/progs/redbook/light.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/Mesa/progs/redbook/light.c b/dist/Mesa/progs/redbook/light.c index 0eed85e10..9431dce50 100644 --- a/dist/Mesa/progs/redbook/light.c +++ b/dist/Mesa/progs/redbook/light.c @@ -47,7 +47,7 @@ /* Initialize material property, light source, lighting model, * and depth buffer. */ -void init(void) +static void init(void) { GLfloat mat_specular[] = { 1.0, 1.0, 1.0, 1.0 }; GLfloat mat_shininess[] = { 50.0 }; @@ -65,14 +65,14 @@ void init(void) glEnable(GL_DEPTH_TEST); } -void display(void) +static void display(void) { glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glutSolidSphere (1.0, 20, 16); glFlush (); } -void reshape (int w, int h) +static void reshape (int w, int h) { glViewport (0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode (GL_PROJECTION); @@ -88,7 +88,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 27: |