The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers to
authorKarl Schultz <kschultz@freedesktop.org>
Wed, 11 May 2005 22:01:20 +0000 (22:01 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Wed, 11 May 2005 22:01:20 +0000 (22:01 +0000)
functions, not for functions that return pointers.  Restore protoype
for glGetString back to its correct form.

include/GL/gl.h

index 1426df4..335e454 100644 (file)
 #define APIENTRY GLAPIENTRY
 #endif
 
-/* "P" suffix for when function returns a pointer */
+/* "P" suffix to be used for a pointer to a function */
 #ifndef APIENTRYP
 #define APIENTRYP APIENTRY *
 #endif
@@ -853,7 +853,7 @@ GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode );
 
 GLAPI GLenum GLAPIENTRY glGetError( void );
 
-GLAPI const GLubyte GLAPIENTRYP glGetString( GLenum name );
+GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name );
 
 GLAPI void GLAPIENTRY glFinish( void );