mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-03-23 00:56:48 +00:00
Fixed GL_ARB_transpose_matrix bug
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@418 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
4a06912ddb
commit
184e91489c
@ -162,6 +162,14 @@ EOT
|
|||||||
typedef unsigned int GLhandleARB
|
typedef unsigned int GLhandleARB
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
# add missing functions to GL_ARB_transpose_matrix
|
||||||
|
cat >> $1/GL_ARB_transpose_matrix <<EOT
|
||||||
|
void glLoadTransposeMatrixfARB (GLfloat m[16])
|
||||||
|
void glLoadTransposeMatrixdARB (GLdouble m[16])
|
||||||
|
void glMultTransposeMatrixfARB (GLfloat m[16])
|
||||||
|
void glMultTransposeMatrixdARB (GLdouble m[16])
|
||||||
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user