Perform pending destroys before unlocking the submit mutex (#28)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This makes the order of VULKAN_Submit consistent with VULKAN_Wait. Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com> Reviewed-on: #28 Co-authored-by: TheSpydog <thespydog@noreply.example.org> Co-committed-by: TheSpydog <thespydog@noreply.example.org>remotes/1727724532633433860/docs-and-cleanup
parent
124f202d2c
commit
ade74d73fe
|
@ -10038,11 +10038,11 @@ static void VULKAN_Submit(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_UnlockMutex(renderer->submitLock);
|
|
||||||
|
|
||||||
/* Check pending destroys */
|
/* Check pending destroys */
|
||||||
|
|
||||||
VULKAN_INTERNAL_PerformPendingDestroys(renderer);
|
VULKAN_INTERNAL_PerformPendingDestroys(renderer);
|
||||||
|
|
||||||
|
SDL_UnlockMutex(renderer->submitLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Device instantiation */
|
/* Device instantiation */
|
||||||
|
|
Loading…
Reference in New Issue