mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
surfaceflinger: FreeBufferLocked doesn't reset the graphic buffer
That's the job of the user on Horizon (via SetPreallocatedBuffer).
This commit is contained in:
parent
ba4830293e
commit
da3fd3f71b
|
@ -175,8 +175,6 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
|
||||||
|
|
||||||
public void FreeBufferLocked(int slot)
|
public void FreeBufferLocked(int slot)
|
||||||
{
|
{
|
||||||
Slots[slot].GraphicBuffer.Reset();
|
|
||||||
|
|
||||||
if (Slots[slot].BufferState == BufferState.Acquired)
|
if (Slots[slot].BufferState == BufferState.Acquired)
|
||||||
{
|
{
|
||||||
Slots[slot].NeedsCleanupOnRelease = true;
|
Slots[slot].NeedsCleanupOnRelease = true;
|
||||||
|
|
Loading…
Reference in a new issue