Remove ICloseable
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Base/ICloseable.hpp"
|
||||
#include "Image.hpp"
|
||||
#include "Device.hpp"
|
||||
#include <cstdint>
|
||||
@@ -17,7 +16,7 @@ namespace OpenVulkano::Vulkan
|
||||
{
|
||||
class RenderPass;
|
||||
|
||||
class FrameBuffer : ICloseable
|
||||
class FrameBuffer
|
||||
{
|
||||
Image depthBuffer;
|
||||
std::vector<vk::Framebuffer> frameBuffers;
|
||||
@@ -50,7 +49,7 @@ namespace OpenVulkano::Vulkan
|
||||
protected:
|
||||
void Resize(vk::Extent3D size);
|
||||
|
||||
void Close() override
|
||||
virtual void Close()
|
||||
{
|
||||
DestroyFrameBuffer();
|
||||
if(depthBuffer) depthBuffer.Close();
|
||||
|
||||
Reference in New Issue
Block a user