mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-01 19:00:48 -07:00
[GPU] Avoid drawing the frame buffer with alpha blend enabled, use correct blend enable register, clear the buffer before drawing
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user