summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2005-05-11 22:01:20 +0000
committerKarl Schultz <kschultz@freedesktop.org>2005-05-11 22:01:20 +0000
commitdb21f1c84f32d4bd7696774acb86f5480f5138cd (patch)
tree2d0fe9706acbbba55e672a3f02f1aee21fb4634b /include/GL
parent4e68f4c1faa67c072fefe040271edf2c3a334eb7 (diff)
The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers to
functions, not for functions that return pointers. Restore protoype for glGetString back to its correct form.
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/gl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 1426df481c..335e454555 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -104,7 +104,7 @@
#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 );