diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-02-12 23:56:21 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-02-12 23:56:21 +0000 |
commit | f2f5f4f8842b984d58f8a24f0a6c3c150f53baad (patch) | |
tree | b6ff8c1b153d8ae97ee0a4aa71a18d507a3f8f1e /src/glut/glx/glut_shapes.c | |
parent | 095f59a30347fea0fc804400620a64dbb7a9273c (diff) |
replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h
Diffstat (limited to 'src/glut/glx/glut_shapes.c')
-rw-r--r-- | src/glut/glx/glut_shapes.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/glut/glx/glut_shapes.c b/src/glut/glx/glut_shapes.c index ce5bebb2be..20e21026c2 100644 --- a/src/glut/glx/glut_shapes.c +++ b/src/glut/glx/glut_shapes.c @@ -65,7 +65,7 @@ initQuadObj(void) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutWireSphere(GLdouble radius, GLint slices, GLint stacks) { QUAD_OBJ_INIT(); @@ -77,7 +77,7 @@ glutWireSphere(GLdouble radius, GLint slices, GLint stacks) gluSphere(quadObj, radius, slices, stacks); } -void APIENTRY +void GLUTAPIENTRY glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) { QUAD_OBJ_INIT(); @@ -89,7 +89,7 @@ glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) gluSphere(quadObj, radius, slices, stacks); } -void APIENTRY +void GLUTAPIENTRY glutWireCone(GLdouble base, GLdouble height, GLint slices, GLint stacks) { @@ -102,7 +102,7 @@ glutWireCone(GLdouble base, GLdouble height, gluCylinder(quadObj, base, 0.0, height, slices, stacks); } -void APIENTRY +void GLUTAPIENTRY glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint stacks) { @@ -160,13 +160,13 @@ drawBox(GLfloat size, GLenum type) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutWireCube(GLdouble size) { drawBox(size, GL_LINE_LOOP); } -void APIENTRY +void GLUTAPIENTRY glutSolidCube(GLdouble size) { drawBox(size, GL_QUADS); @@ -216,7 +216,7 @@ doughnut(GLfloat r, GLfloat R, GLint nsides, GLint rings) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint nsides, GLint rings) { @@ -226,7 +226,7 @@ glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, glPopAttrib(); } -void APIENTRY +void GLUTAPIENTRY glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint nsides, GLint rings) { @@ -349,13 +349,13 @@ dodecahedron(GLenum type) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutWireDodecahedron(void) { dodecahedron(GL_LINE_LOOP); } -void APIENTRY +void GLUTAPIENTRY glutSolidDodecahedron(void) { dodecahedron(GL_TRIANGLE_FAN); @@ -466,13 +466,13 @@ octahedron(GLenum shadeType) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutWireOctahedron(void) { octahedron(GL_LINE_LOOP); } -void APIENTRY +void GLUTAPIENTRY glutSolidOctahedron(void) { octahedron(GL_TRIANGLES); @@ -537,13 +537,13 @@ icosahedron(GLenum shadeType) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutWireIcosahedron(void) { icosahedron(GL_LINE_LOOP); } -void APIENTRY +void GLUTAPIENTRY glutSolidIcosahedron(void) { icosahedron(GL_TRIANGLES); @@ -581,13 +581,13 @@ tetrahedron(GLenum shadeType) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutWireTetrahedron(void) { tetrahedron(GL_LINE_LOOP); } -void APIENTRY +void GLUTAPIENTRY glutSolidTetrahedron(void) { tetrahedron(GL_TRIANGLES); |