Bugfix window minimization

This commit is contained in:
red-prig 2023-04-09 15:35:15 +03:00
parent 3dfcab813e
commit 9ffe22f2eb

View File

@ -501,9 +501,11 @@ var
begin
For i:=0 to High(FImages) do
begin
if (FImages[i].FView<>VK_NULL_HANDLE) then
vkDestroyImageView(Device.FHandle,FImages[i].FView,nil);
FImages[i].Free;
end;
if (FHandle<>VK_NULL_HANDLE) then
vkDestroySwapchainKHR(Device.FHandle,FHandle,nil);
end;