X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Funiform.cpp;h=943600e0d560522cb6adf2d0aacca20b91381518;hb=cdf6744cb3a73030bc767a23b7ed5215919e53c5;hp=8aba365be5e5cd2238a0934eb639d6585c453d8e;hpb=8f7d5b6460ef68e7316c7f556b7152d9c9f7bfe2;p=libs%2Fgl.git 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<>