aboutsummaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-14 00:28:27 +0200
committerhachem <im@hachem.wtf>2025-08-14 00:28:27 +0200
commit2e246683df3b18e8e129adb0ada25be5f82f5b59 (patch)
treefa692b2a612d025ec2efa6d121e5068d68ef4d17 /src/Core
parent13f2e940700b4451f6bff52eb1666475fd2de72c (diff)
[add]: Ability to switch render API
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/Application.cpp3
1 files changed, 3 insertions, 0 deletions
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);