1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-30 18:42:01 +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:
Thog 2020-05-15 12:20:18 +02:00
parent ba4830293e
commit da3fd3f71b

View file

@ -175,8 +175,6 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
public void FreeBufferLocked(int slot)
{
Slots[slot].GraphicBuffer.Reset();
if (Slots[slot].BufferState == BufferState.Acquired)
{
Slots[slot].NeedsCleanupOnRelease = true;