forked from MoonsideGames/Refresh
perform pending destroys before unlocking the submit mutex
parent
528abfad76
commit
9dcc3fff28
|
@ -10048,11 +10048,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