From 2e246683df3b18e8e129adb0ada25be5f82f5b59 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 00:28:27 +0200 Subject: [add]: 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 70868ca..4a0726d 100644 --- a/src/Core/Application.cpp +++ b/src/Core/Application.cpp @@ -1,4 +1,5 @@ #include "Application.h" + #include "Rendering/Renderer.h" #include "States/ConfigState.h" @@ -101,6 +102,8 @@ namespace Donut void Application::OnInit() { Logger::Init(); + + RendererAPI::SetAPI(RendererAPI::API::OpenGL); Renderer::Init(); Renderer::OnWindowResize(1280, 720); -- cgit v1.3