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 | 8742482311b86bb705d93336805ab26881e96070 (patch) | |
| tree | f2cb9d19864cf3f5b3a571326c9ad834c25dd5e2 /src/core | |
| parent | 3fd33ecff7472e4d6fc9e6b3905f56982e497ef2 (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 6239c36..9cd19ec 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -69,7 +69,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; |
