mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-02-22 19:54:18 +01:00
fixed mipmapping crash
This commit is contained in:
parent
a918e4216f
commit
07ca324fd3
@ -1528,9 +1528,6 @@ void CreateTexture()
|
|||||||
|
|
||||||
vkDestroyFence(device, fence, 0);
|
vkDestroyFence(device, fence, 0);
|
||||||
vkFreeCommandBuffers(device, commandPool, 1, &mipgenCommandBuffer);
|
vkFreeCommandBuffers(device, commandPool, 1, &mipgenCommandBuffer);
|
||||||
|
|
||||||
vkFreeMemory(device, stagingMemory, 0);
|
|
||||||
vkDestroyBuffer(device, stagingBuffer, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user