hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/application.h')
-rw-r--r--src/core/application.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/application.h b/src/core/application.h
index df6669b..f2b5656 100644
--- a/src/core/application.h
+++ b/src/core/application.h
@@ -7,11 +7,10 @@
#include "log.h"
#include "engine/engine.h"
+#include "rendering/renderer_backend.h"
namespace Donut
{
- class VulkanRenderer;
-
class Application
{
public:
@@ -34,13 +33,14 @@ namespace Donut
auto on_render() -> void;
auto on_event(Event& event) -> void;
auto setup_docking_layout() -> void;
- auto build_vulkan_ui() -> void;
+ auto build_ui() -> void;
+ auto build_scene_ui() -> void;
private:
Scope<StateManager> m_state_manager;
Scope<Window> m_window;
Scope<Engine> m_engine;
- Scope<VulkanRenderer> m_vulkan_renderer;
+ Scope<RendererBackend> m_renderer;
bool m_running;
bool m_minimized;