diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-04-13 22:42:55 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-04-13 22:42:55 -0300 |
| commit | 47100ec8c1b3cabc7d53654163c1dd30b58d483d (patch) | |
| tree | 5b28448fd48438d78fb0a07d3ac5a914b82b8f69 /Ryujinx.Graphics/Gpu/NvGpuEngine3d.cs | |
| parent | bbcad307bdb8edca121ef6e3d2b13196fdd96a2d (diff) | |
[GPU] Avoid drawing the frame buffer with alpha blend enabled, use correct blend enable register, clear the buffer before drawing
Diffstat (limited to 'Ryujinx.Graphics/Gpu/NvGpuEngine3d.cs')
| -rw-r--r-- | Ryujinx.Graphics/Gpu/NvGpuEngine3d.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gpu/NvGpuEngine3d.cs b/Ryujinx.Graphics/Gpu/NvGpuEngine3d.cs index 1142e4aa..fd13367c 100644 --- a/Ryujinx.Graphics/Gpu/NvGpuEngine3d.cs +++ b/Ryujinx.Graphics/Gpu/NvGpuEngine3d.cs @@ -168,7 +168,7 @@ namespace Ryujinx.Graphics.Gpu private void SetAlphaBlending() { //TODO: Support independent blend properly. - bool Enable = (ReadRegister(NvGpuEngine3dReg.IBlendEnable) & 1) != 0; + bool Enable = (ReadRegister(NvGpuEngine3dReg.IBlendNEnable) & 1) != 0; Gpu.Renderer.SetBlendEnable(Enable); |
