forked from Mirror/Ryujinx
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