mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-29 18:06:52 +00:00
Fixed UniformMatrix4(..., ref Matrix4) overload (count should be 1).
This commit is contained in:
parent
51c583b1c4
commit
1d80794d6b
|
@ -846,7 +846,7 @@ namespace OpenTK.Graphics
|
||||||
{
|
{
|
||||||
fixed (float* matrix_ptr = &matrix.Row0.X)
|
fixed (float* matrix_ptr = &matrix.Row0.X)
|
||||||
{
|
{
|
||||||
GL.UniformMatrix4(location, 16, transpose, matrix_ptr);
|
GL.UniformMatrix4(location, 1, transpose, matrix_ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue