Make ResourceManager no longer extend IClosable

This commit is contained in:
Georg Hagen
2024-07-10 16:23:35 +02:00
parent ba7f0e6d62
commit a54e1b10ed

View File

@@ -9,7 +9,6 @@
// Workaround for libc++
#define __cpp_lib_three_way_comparison 201907
#include "Base/ICloseable.hpp"
#include "IShaderOwner.hpp"
#include "Vulkan/Image.hpp"
#include "Scene/Shader/DescriptorInputDescription.hpp"
@@ -45,7 +44,7 @@ namespace OpenVulkano
class ManagedBuffer;
class MemoryAllocation;
class ResourceManager : public ICloseable, public IShaderOwner
class ResourceManager : public IShaderOwner
{
friend UniformBuffer;
friend VulkanTexture;
@@ -80,7 +79,7 @@ namespace OpenVulkano
void Init(Context* context, int buffers = 2);
void Close() override;
void Close();
void StartFrame(uint64_t frameId);