mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-17 02:35:47 +00:00
@@ -126,7 +126,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
|
||||
{
|
||||
BufferState state = Slots[slot].BufferState;
|
||||
|
||||
if (state == BufferState.Queued || state == BufferState.Dequeued)
|
||||
if (state is BufferState.Queued or BufferState.Dequeued)
|
||||
{
|
||||
maxBufferCount = slot + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user