diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2019-02-22 02:14:02 -0300 |
|---|---|---|
| committer | jduncanator <1518948+jduncanator@users.noreply.github.com> | 2019-02-22 16:14:02 +1100 |
| commit | 7ed2b4cc39ca286a03589cd3768a419c5ed9941f (patch) | |
| tree | 5e5ea6fa7c9efda191adca2012f8bd3c06361770 | |
| parent | 6335753e382eec1cf9037545851f1de2459b94cc (diff) | |
Initialize FrontFace register with a default value (#601)
| -rw-r--r-- | Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs b/Ryujinx.Graphics/Graphics3d/NvGpuEngine3d.cs index 1ca3ca1c..6120053d 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); |
