mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-11-26 16:10:25 +00:00
Bugfix window minimization
This commit is contained in:
parent
3dfcab813e
commit
9ffe22f2eb
@ -501,10 +501,12 @@ var
|
||||
begin
|
||||
For i:=0 to High(FImages) do
|
||||
begin
|
||||
vkDestroyImageView(Device.FHandle,FImages[i].FView,nil);
|
||||
if (FImages[i].FView<>VK_NULL_HANDLE) then
|
||||
vkDestroyImageView(Device.FHandle,FImages[i].FView,nil);
|
||||
FImages[i].Free;
|
||||
end;
|
||||
vkDestroySwapchainKHR(Device.FHandle,FHandle,nil);
|
||||
if (FHandle<>VK_NULL_HANDLE) then
|
||||
vkDestroySwapchainKHR(Device.FHandle,FHandle,nil);
|
||||
end;
|
||||
|
||||
Destructor TvCustomImage.Destroy;
|
||||
|
Loading…
Reference in New Issue
Block a user