Reset flip label also when registering buffer

This commit is contained in:
Pavel 2025-03-21 10:34:24 +03:00
parent 4ac70e4a83
commit c646cc08d1

View File

@ -134,6 +134,10 @@ int VideoOutDriver::RegisterBuffers(VideoOutPort* port, s32 startIndex, void* co
.address_right = 0,
};
// Reset flip label also when registering buffer
port->buffer_labels[startIndex + i] = 0;
port->SignalVoLabel();
presenter->RegisterVideoOutSurface(group, address);
LOG_INFO(Lib_VideoOut, "buffers[{}] = {:#x}", i + startIndex, address);
}