diff options
| author | hachem <im@hachem.wtf> | 2025-08-14 00:28:27 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-14 00:28:27 +0200 |
| commit | 2e246683df3b18e8e129adb0ada25be5f82f5b59 (patch) | |
| tree | fa692b2a612d025ec2efa6d121e5068d68ef4d17 /src/Core/Application.cpp | |
| parent | 13f2e940700b4451f6bff52eb1666475fd2de72c (diff) | |
[add]: Ability to switch render API
Diffstat (limited to 'src/Core/Application.cpp')
| -rw-r--r-- | src/Core/Application.cpp | 3 |
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); |
