From 594fdd6a4ef04af26c8d7d97cadfcc2ba1b083ae Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 26 May 2012 00:08:50 -0500 Subject: [PATCH] Filter enums for GL_APPLE_vertex_array_range, GL_ARB_texture_rg, GL_ARB_texture_storage, GL_EXT_paletted_texture - no need to duplicate. --- auto/bin/update_ext.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/auto/bin/update_ext.sh b/auto/bin/update_ext.sh index c8bcdcd..25dd6eb 100755 --- a/auto/bin/update_ext.sh +++ b/auto/bin/update_ext.sh @@ -373,6 +373,24 @@ EOT grep -v 'GL_FLOAT ' $1/GL_AMD_performance_monitor > tmp mv tmp $1/GL_AMD_performance_monitor +# Filter out GL_STORAGE_CACHED_APPLE and GL_STORAGE_SHARED_APPLE from GL_APPLE_vertex_array_range + grep -v 'GL_STORAGE_CACHED_APPLE ' $1/GL_APPLE_vertex_array_range > tmp + mv tmp $1/GL_APPLE_vertex_array_range + grep -v 'GL_STORAGE_SHARED_APPLE ' $1/GL_APPLE_vertex_array_range > tmp + mv tmp $1/GL_APPLE_vertex_array_range + +# Filter out GL_RED from GL_ARB_texture_rg + grep -v 'GL_RED ' $1/GL_ARB_texture_rg > tmp + mv tmp $1/GL_ARB_texture_rg + +# Filter out _EXT enums from GL_ARB_texture_storage + grep -v '_EXT ' $1/GL_ARB_texture_storage > tmp + mv tmp $1/GL_ARB_texture_storage + +# Filter out TEXTURE_3D enums from GL_EXT_paletted_texture + grep -v 'TEXTURE_3D' $1/GL_EXT_paletted_texture > tmp + mv tmp $1/GL_EXT_paletted_texture + # clean up rm -f $1/*.bak