Resolve bug #200 glGetPointerv of GL_KHR_debug hides OpenGL 1.1.

This commit is contained in:
Nigel Stewart 2012-09-17 18:32:31 -05:00
parent 0580fdd09b
commit 027efdea2a

View File

@ -341,6 +341,10 @@ EOT
typedef void (APIENTRY *GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam) typedef void (APIENTRY *GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam)
EOT EOT
# Remove glGetPointerv from GL_KHR_debug
grep -v "glGetPointerv" $1/GL_KHR_debug > tmp
mv tmp $1/GL_KHR_debug
# Remove GL_ARB_debug_group, GL_ARB_debug_label and GL_ARB_debug_output2, for now # Remove GL_ARB_debug_group, GL_ARB_debug_label and GL_ARB_debug_output2, for now
rm -f $1/GL_ARB_debug_group rm -f $1/GL_ARB_debug_group
rm -f $1/GL_ARB_debug_label rm -f $1/GL_ARB_debug_label