mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 08:25:46 +00:00
Initialize FrontFace register with a default value (#601)
This commit is contained in:
parent
6335753e38
commit
7ed2b4cc39
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ namespace Ryujinx.Graphics.Graphics3d
|
||||||
|
|
||||||
WriteRegister(NvGpuEngine3dReg.FrameBufferSrgb, 1);
|
WriteRegister(NvGpuEngine3dReg.FrameBufferSrgb, 1);
|
||||||
|
|
||||||
|
WriteRegister(NvGpuEngine3dReg.FrontFace, (int)GalFrontFace.CW);
|
||||||
|
|
||||||
for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++)
|
for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++)
|
||||||
{
|
{
|
||||||
WriteRegister(NvGpuEngine3dReg.IBlendNEquationRgb + Index * 8, (int)GalBlendEquation.FuncAdd);
|
WriteRegister(NvGpuEngine3dReg.IBlendNEquationRgb + Index * 8, (int)GalBlendEquation.FuncAdd);
|
||||||
|
|
Loading…
Reference in a new issue