From 6e29c50eacdadd180429dbef4fea9b3c0ac9e7ec Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Thu, 24 May 2012 22:13:59 -0500 Subject: [PATCH] Filter out GL_FLOAT and GL_UNSIGNED_INT from GL_AMD_performance_monitor extension. --- auto/bin/update_ext.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/auto/bin/update_ext.sh b/auto/bin/update_ext.sh index 92952d4..c8bcdcd 100755 --- a/auto/bin/update_ext.sh +++ b/auto/bin/update_ext.sh @@ -367,6 +367,12 @@ EOT void glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) EOT +# Filter out GL_UNSIGNED_INT and GL_FLOAT from GL_AMD_performance_monitor + grep -v 'GL_UNSIGNED_INT ' $1/GL_AMD_performance_monitor > tmp + mv tmp $1/GL_AMD_performance_monitor + grep -v 'GL_FLOAT ' $1/GL_AMD_performance_monitor > tmp + mv tmp $1/GL_AMD_performance_monitor + # clean up rm -f $1/*.bak