mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
removed const correctness fix in GL_ARB_shader_objects
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@282 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
3d47930cca
commit
82b540177c
@ -149,7 +149,7 @@ EOT
|
|||||||
EOT
|
EOT
|
||||||
|
|
||||||
# fix const correctness in GL_ARB_shader_objects
|
# fix const correctness in GL_ARB_shader_objects
|
||||||
perl -e 's/(.+glUniform.*(fv|iv).+)(GLfloat\*.+|GLint\*.+)/\1const \3/;' -pi $1/GL_ARB_shader_objects
|
# perl -e 's/(.+glUniform.*(fv|iv).+)(GLfloat\*.+|GLint\*.+)/\1const \3/;' -pi $1/GL_ARB_shader_objects
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
rm -f $1/*.bak
|
rm -f $1/*.bak
|
||||||
|
Loading…
Reference in New Issue
Block a user