X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Funiform.cpp;h=943600e0d560522cb6adf2d0aacca20b91381518;hp=8aba365be5e5cd2238a0934eb639d6585c453d8e;hb=2c3b2b65f5bb33fa7c4b5797d61c0e100df93a4e;hpb=08d72eb25d3f99f347e6c801755871b7a5f29f5d diff --git a/source/uniform.cpp b/source/uniform.cpp index 8aba365b..943600e0 100644 --- a/source/uniform.cpp +++ b/source/uniform.cpp @@ -45,7 +45,7 @@ void UniformMatrix::apply(int index, unsigned size, const float *va template<> void UniformMatrix::apply(int index, unsigned size, const float *value) { - glUniformMatrix2fv(index, size, false, value); + glUniformMatrix3fv(index, size, false, value); } template<>