aboutsummaryrefslogtreecommitdiff
path: root/src/Core
diff options
context:
space:
mode:
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);