mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 13:43:17 +02:00
Initialize FrontFace register with a default value (#601)
This commit is contained in:
parent
6335753e38
commit
7ed2b4cc39
@ -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 New Issue
Block a user