mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 11:51:05 +00:00
* Matrix4d.cs: M44 should be 1.0 to conform with GL.Ortho(). Fixes issue [#1307]: "GL.Ortho behaves other than combination of OpenTK.Matrix4d.CreateOrthographic and GL.MultMatrix".
This commit is contained in:
parent
ef183b18cc
commit
1a9fc63a57
|
@ -513,6 +513,7 @@ namespace OpenTK
|
||||||
result.M41 = -(right + left) * invRL;
|
result.M41 = -(right + left) * invRL;
|
||||||
result.M42 = -(top + bottom) * invTB;
|
result.M42 = -(top + bottom) * invTB;
|
||||||
result.M43 = -(zFar + zNear) * invFN;
|
result.M43 = -(zFar + zNear) * invFN;
|
||||||
|
result.M44 = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue