release allocator lock before submitting
parent
48761bba56
commit
0ef91c7f42
|
@ -10671,6 +10671,8 @@ static uint8_t VULKAN_INTERNAL_DefragmentMemory(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDL_UnlockMutex(renderer->allocatorLock);
|
||||||
|
|
||||||
VULKAN_Submit(
|
VULKAN_Submit(
|
||||||
(Refresh_Renderer*) renderer,
|
(Refresh_Renderer*) renderer,
|
||||||
1,
|
1,
|
||||||
|
@ -10679,8 +10681,6 @@ static uint8_t VULKAN_INTERNAL_DefragmentMemory(
|
||||||
|
|
||||||
renderer->defragTimer = 0;
|
renderer->defragTimer = 0;
|
||||||
|
|
||||||
SDL_UnlockMutex(renderer->allocatorLock);
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue