put all baseline transform work into Projection, else we have to constantly worry about whether to pre or post multiply while doing subsequent transforms on screens

This commit is contained in:
zeromus 2020-04-28 18:54:59 -04:00
parent b1d491d91f
commit 9dc32fcafe
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ namespace BizHawk.Bizware.BizwareGL
{
Begin();
Projection = Owner.CreateGuiProjectionMatrix(width, height);
Modelview = Owner.CreateGuiViewMatrix(width, height);
Projection = Owner.CreateGuiViewMatrix(width, height) * Owner.CreateGuiProjectionMatrix(width, height);
Modelview.Clear();
Owner.SetViewport(width, height);
}