mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
GPU: Remove erroneous buffer usage flag from defrag process
This commit is contained in:
parent
70c2f576c8
commit
aae2f74ae6
1 changed files with 0 additions and 2 deletions
|
|
@ -10810,8 +10810,6 @@ static bool VULKAN_INTERNAL_DefragmentMemory(
|
|||
VulkanMemoryUsedRegion *currentRegion = allocation->usedRegions[i];
|
||||
|
||||
if (currentRegion->isBuffer && !currentRegion->vulkanBuffer->markedForDestroy) {
|
||||
currentRegion->vulkanBuffer->usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT;
|
||||
|
||||
VulkanBuffer *newBuffer = VULKAN_INTERNAL_CreateBuffer(
|
||||
renderer,
|
||||
currentRegion->vulkanBuffer->size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue