From 9671d5e54484b8bce261207d08ff15053ae24e48 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 00:28:27 +0200 Subject: feat: ability to switch render API --- src/core/application.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/application.cpp') diff --git a/src/core/application.cpp b/src/core/application.cpp index f878c71..b05e2b5 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -1,4 +1,5 @@ #include "application.h" + #include "rendering/renderer.h" #include "states/config_state.h" @@ -101,6 +102,8 @@ namespace Donut void Application::on_init() { Logger::init(); + + RendererAPI::set_api(RendererAPI::API::OpenGL); Renderer::init(); Renderer::on_window_resize(1280, 720); -- cgit v1.3