mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-02 21:47:18 +01:00
Account for multisample when calculating render target size hint (#4467)
This commit is contained in:
parent
f07ae7d53f
commit
095ad923ad
@ -439,7 +439,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
|||||||
int samplesInY = msaaMode.SamplesInY();
|
int samplesInY = msaaMode.SamplesInY();
|
||||||
|
|
||||||
var scissor = _state.State.ScreenScissorState;
|
var scissor = _state.State.ScreenScissorState;
|
||||||
Size sizeHint = new Size(scissor.X + scissor.Width, scissor.Y + scissor.Height, 1);
|
Size sizeHint = new Size((scissor.X + scissor.Width) * samplesInX, (scissor.Y + scissor.Height) * samplesInY, 1);
|
||||||
|
|
||||||
int clipRegionWidth = int.MaxValue;
|
int clipRegionWidth = int.MaxValue;
|
||||||
int clipRegionHeight = int.MaxValue;
|
int clipRegionHeight = int.MaxValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user