mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
Filter enums for GL_APPLE_vertex_array_range, GL_ARB_texture_rg, GL_ARB_texture_storage, GL_EXT_paletted_texture - no need to duplicate.
This commit is contained in:
parent
848ddb0c31
commit
594fdd6a4e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user