Cleanup shader handling

This commit is contained in:
2023-08-05 21:01:11 +02:00
parent 836e9dce42
commit da1782c4a9
9 changed files with 28 additions and 24 deletions

View File

@@ -35,8 +35,7 @@ namespace openVulkanoCpp
VulkanShader() = default;
~VulkanShader() override
{ if (shader) VulkanShader::Close(); }
~VulkanShader() override;
void Init(Context* context, Scene::Shader* shader, IShaderOwner* owner);