X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_teapot.c;h=0956642be22a88ec9c01b083b161274c28143e97;hb=9dac5d0710b760ba04ebb6bbe9ee61041232c700;hp=edbfcaa5b2cb9610cd8cd1f20d4292044a934e95;hpb=3997d5a97e09f007f544bb6c524387047d7d56c7;p=freeglut diff --git a/src/freeglut_teapot.c b/src/freeglut_teapot.c index edbfcaa..0956642 100644 --- a/src/freeglut_teapot.c +++ b/src/freeglut_teapot.c @@ -84,7 +84,7 @@ /* -- PRIVATE FUNCTIONS ---------------------------------------------------- */ -static void teapot( GLint grid, GLdouble scale, GLenum type ) +static void fghTeapot( GLint grid, GLdouble scale, GLenum type ) { #if TARGET_HOST_WINCE int i, numV=sizeof(strip_vertices)/4, numI=sizeof(strip_normals)/4; @@ -182,10 +182,8 @@ static void teapot( GLint grid, GLdouble scale, GLenum type ) */ void FGAPIENTRY glutWireTeapot( GLdouble size ) { - /* - * We will use the general teapot rendering code - */ - teapot( 10, size, GL_LINE ); + /* We will use the general teapot rendering code */ + fghTeapot( 10, size, GL_LINE ); } /* @@ -193,10 +191,8 @@ void FGAPIENTRY glutWireTeapot( GLdouble size ) */ void FGAPIENTRY glutSolidTeapot( GLdouble size ) { - /* - * We will use the general teapot rendering code - */ - teapot( 7, size, GL_FILL ); + /* We will use the general teapot rendering code */ + fghTeapot( 7, size, GL_FILL ); } /*** END OF FILE ***/