mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
StopThreads is called inside the FramebufferManagerCommon::NotifyRenderResized. Issue is, StopThreads is called inside an active frame, then clears that active frame's timestamp descriptions. Rendering resumes, and QueueRunner uses the empty list’s size to select query 0, which was already written. Fix this by preserving timestamp descriptions for the current frame when insideFrame_ is true while retaining the cleanup for other frames.