Fix issues with UI renderer
This commit is contained in:
@@ -20,6 +20,7 @@ namespace openVulkanoCpp::Vulkan
|
||||
RenderPass uiRenderPass;
|
||||
vk::DescriptorPool descriptorPool;
|
||||
Scene::UI::Ui* ui;
|
||||
bool uiInitialized = false;
|
||||
|
||||
public:
|
||||
UiRenderer() = default;
|
||||
@@ -36,7 +37,7 @@ namespace openVulkanoCpp::Vulkan
|
||||
|
||||
void Close();
|
||||
|
||||
void SetActiveUi(Scene::UI::Ui* ui) { this->ui = ui; }
|
||||
void SetActiveUi(Scene::UI::Ui* ui);
|
||||
|
||||
Scene::UI::Ui* GetActiveUi() { return ui; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user