From 2c3b2b65f5bb33fa7c4b5797d61c0e100df93a4e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 10 Sep 2012 00:00:45 +0300 Subject: [PATCH] Fix a stupid copy&paste mistake --- source/uniform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<> -- 2.45.2