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 | 9671d5e54484b8bce261207d08ff15053ae24e48 (patch) | |
| tree | 0bd7018fd818eb16069f27102b9e489d5369bcf6 /src/core | |
| parent | 0262eeea8762cdeb14c98d22473ebf0fd6b37bf9 (diff) | |
feat: ability to switch render API
Diffstat (limited to 'src/core')
| -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 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); |
