Fixed ordering for undertale

This commit is contained in:
Andy Adshead 2019-02-19 10:31:50 +00:00
parent 0938c12462
commit 24124f3db7

View file

@ -100,7 +100,14 @@ namespace Ryujinx.Graphics.Graphics3d
GalPipelineState State = new GalPipelineState();
// Framebuffer must be run configured because viewport dimensions may be used in other methods
SetFrameBuffer(State);
for (int FbIndex = 0; FbIndex < 8; FbIndex++)
{
SetFrameBuffer(Vmm, FbIndex);
}
SetFrontFace(State);
SetCullFace(State);
SetDepth(State);
@ -110,11 +117,6 @@ namespace Ryujinx.Graphics.Graphics3d
SetColorMask(State);
SetPrimitiveRestart(State);
for (int FbIndex = 0; FbIndex < 8; FbIndex++)
{
SetFrameBuffer(Vmm, FbIndex);
}
SetZeta(Vmm);
SetRenderTargets();