From 7ed2b4cc39ca286a03589cd3768a419c5ed9941f Mon Sep 17 00:00:00 2001 From: gdkchan Date: Fri, 22 Feb 2019 02:14:02 -0300 Subject: [PATCH] Initialize FrontFace register with a default value (#601) --- Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs b/Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs index 1ca3ca1ce1..6120053dae 100644 --- a/Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs +++ b/Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs @@ -66,6 +66,8 @@ namespace Ryujinx.Graphics.Graphics3d WriteRegister(NvGpuEngine3dReg.FrameBufferSrgb, 1); + WriteRegister(NvGpuEngine3dReg.FrontFace, (int)GalFrontFace.CW); + for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++) { WriteRegister(NvGpuEngine3dReg.IBlendNEquationRgb + Index * 8, (int)GalBlendEquation.FuncAdd);