Whoops, glGetIntegerv() returns void. Cut-and-paste error! trunk
authorRyan C. Gordon <icculus@icculus.org>
Sat, 03 May 2008 13:40:55 -0400
branchtrunk
changeset 275 cd25ba040c5e
parent 274 857f2198d5a9
child 276 1d7437469c94
Whoops, glGetIntegerv() returns void. Cut-and-paste error!
glcaps.c
--- a/glcaps.c	Sat May 03 04:42:42 2008 -0400
+++ b/glcaps.c	Sat May 03 13:40:55 2008 -0400
@@ -9,7 +9,7 @@
 #include "GL/glext.h"
 #include "SDL.h"
 
-typedef WINGDIAPI const GLubyte * (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
+typedef WINGDIAPI void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
 typedef WINGDIAPI const GLubyte * (APIENTRYP PFNGLGETSTRINGPROC) (GLenum name);
 
 #ifndef GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT