diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-27 11:49:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-27 11:49:20 +0400 |
commit | d665c46a648d04cf1b79734908774a11933f2c42 (patch) | |
tree | 27c40a36c701669eba68d6e1062103ab12065026 /source | |
parent | 763a737fcc17d1ee0a74ab87bc6e4d16a1c60207 (diff) |
fix [#35884] evil bge.types.BL_Shader.setUniformMatrix3()
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/Ketsji/BL_Shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/BL_Shader.cpp b/source/gameengine/Ketsji/BL_Shader.cpp index 4a74024b5bb..8032fb6c0af 100644 --- a/source/gameengine/Ketsji/BL_Shader.cpp +++ b/source/gameengine/Ketsji/BL_Shader.cpp @@ -1363,7 +1363,7 @@ KX_PYMETHODDEF_DOC( BL_Shader, setUniformMatrix3, #ifdef SORT_UNIFORMS - mat.getValue(matr); + mat.getValue3x3(matr); SetUniformfv(loc, BL_Uniform::UNI_MAT3, matr, (sizeof(float)*9), (transp!=0) ); #else SetUniform(loc,mat,(transp!=0)); |