release allocator lock before submitting
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/41/head
cosmonaut 2023-05-16 18:52:53 -07:00
parent 48761bba56
commit 0ef91c7f42
1 changed files with 2 additions and 2 deletions

View File

@ -10671,6 +10671,8 @@ static uint8_t VULKAN_INTERNAL_DefragmentMemory(
}
}
SDL_UnlockMutex(renderer->allocatorLock);
VULKAN_Submit(
(Refresh_Renderer*) renderer,
1,
@ -10679,8 +10681,6 @@ static uint8_t VULKAN_INTERNAL_DefragmentMemory(
renderer->defragTimer = 0;
SDL_UnlockMutex(renderer->allocatorLock);
return 1;
}