moved SwapchainImage's Destruct function to .cpp

This commit is contained in:
2025-01-25 21:16:25 +08:00
parent 0a072d846b
commit 63dac1ef74
2 changed files with 14 additions and 10 deletions

View File

@@ -1,8 +1,6 @@
#pragma once
#include<hgl/graph/VK.h>
#include<hgl/graph/VKFramebuffer.h>
#include<hgl/graph/VKCommandBuffer.h>
VK_NAMESPACE_BEGIN
struct SwapchainImage
@@ -16,13 +14,7 @@ struct SwapchainImage
public:
~SwapchainImage()
{
delete cmd_buf;
delete fbo;
delete depth;
delete color;
}
~SwapchainImage();
};//struct SwapchainImage
struct Swapchain