From 56e95f9bf98f04d9b6d8643208b6a091fce70ea0 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 29 Apr 2009 13:00:27 +0000 Subject: [PATCH] Fixed UniformMatrix4(..., ref Matrix4) overload (count should be 1). --- Source/OpenTK/Graphics/GL/GLHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Graphics/GL/GLHelper.cs b/Source/OpenTK/Graphics/GL/GLHelper.cs index f83629df..41131493 100644 --- a/Source/OpenTK/Graphics/GL/GLHelper.cs +++ b/Source/OpenTK/Graphics/GL/GLHelper.cs @@ -846,7 +846,7 @@ namespace OpenTK.Graphics { fixed (float* matrix_ptr = &matrix.Row0.X) { - GL.UniformMatrix4(location, 16, transpose, matrix_ptr); + GL.UniformMatrix4(location, 1, transpose, matrix_ptr); } } }