diff options
| author | hachem <im@hachem.wtf> | 2026-08-23 17:41:31 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-23 17:41:31 +0200 |
| commit | 441a29433023fb2c687be786107f764ad4ca9cb4 (patch) | |
| tree | 5347ca398f960e0b9f5afbf03a80412710159e9f /src/core | |
| parent | a76180aaf4e38a1623a93586800e0f3e54d58c1b (diff) | |
fix: generalize render targets and window seams
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/application.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/application.cpp b/src/core/application.cpp index 215ce9c..8b411c3 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -65,7 +65,8 @@ namespace Donut else m_device = RHI::create_opengl_device(); - if (!m_device->init(m_window->get_native_window(), w, h)) + RHI::NativeWindow native{ m_window->get_native_window(), w, h }; + if (!m_device->init(native)) { DONUT_ERROR("RHI device initialization failed"); return; |
