mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Vulkan: Avoid crash in headless on finish.
This commit is contained in:
parent
a223e2a572
commit
30454f8dc7
1 changed files with 4 additions and 1 deletions
|
@ -1269,7 +1269,10 @@ void VulkanRenderManager::Run(int frame) {
|
|||
BeginSubmitFrame(frame);
|
||||
|
||||
FrameData &frameData = frameData_[frame];
|
||||
queueRunner_.PreprocessSteps(frameData_[frame].steps);
|
||||
queueRunner_.PreprocessSteps(frameData.steps);
|
||||
// Likely during shutdown, happens in headless.
|
||||
if (frameData.steps.empty() && !frameData.hasAcquired)
|
||||
frameData.skipSwap = true;
|
||||
//queueRunner_.LogSteps(stepsOnThread, false);
|
||||
queueRunner_.RunSteps(frameData, frameDataShared_);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue