diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-11-17 02:10:51 -0200 |
|---|---|---|
| committer | Ac_K <Acoustik666@gmail.com> | 2018-11-17 05:10:51 +0100 |
| commit | b7613dd4b8a535d028ae180ee3a4b574abe4e3e0 (patch) | |
| tree | b6e92bd7509f48f3087c86acebb6cee95760fb46 /Ryujinx.Graphics/NvGpuEngine3d.cs | |
| parent | d2bb458b51bbcbc097f8f53ac2a3b8b15a723a45 (diff) | |
Enable SRGB framebuffers by default (#502)
Diffstat (limited to 'Ryujinx.Graphics/NvGpuEngine3d.cs')
| -rw-r--r-- | Ryujinx.Graphics/NvGpuEngine3d.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/NvGpuEngine3d.cs b/Ryujinx.Graphics/NvGpuEngine3d.cs index 9fa42838..4a0310fb 100644 --- a/Ryujinx.Graphics/NvGpuEngine3d.cs +++ b/Ryujinx.Graphics/NvGpuEngine3d.cs @@ -61,6 +61,8 @@ namespace Ryujinx.Graphics //FIXME: Is this correct? WriteRegister(NvGpuEngine3dReg.ColorMaskN, 0x1111); + WriteRegister(NvGpuEngine3dReg.FrameBufferSrgb, 1); + for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++) { WriteRegister(NvGpuEngine3dReg.IBlendNEquationRgb + Index * 8, (int)GalBlendEquation.FuncAdd); |
