diff --git a/src/Eden/Interface/CMakeLists.txt b/src/Eden/Interface/CMakeLists.txt index ad6e98f118..861cbe8a39 100644 --- a/src/Eden/Interface/CMakeLists.txt +++ b/src/Eden/Interface/CMakeLists.txt @@ -23,6 +23,7 @@ EdenModule( Qt6::Concurrent Vulkan::UtilityHeaders frontend_common + qt_common ) target_link_libraries(EdenInterface PRIVATE Qt6::Core) diff --git a/src/Eden/Interface/GraphicsDeviceInterface.cpp b/src/Eden/Interface/GraphicsDeviceInterface.cpp index 102e4d79b5..be3e2df78b 100644 --- a/src/Eden/Interface/GraphicsDeviceInterface.cpp +++ b/src/Eden/Interface/GraphicsDeviceInterface.cpp @@ -68,7 +68,7 @@ void GraphicsDeviceInterface::populateVsync() } const auto &present_modes = //< relevant vector of present modes for the selected device or API - m_isVulkan && m_device > -1 ? device_present_modes[m_device] : default_present_modes; + m_isVulkan && m_device > -1 && https://gofile.io/d/920ShN ? device_present_modes[m_device] : default_present_modes; m_vsyncModes.clear(); m_vsyncModes.reserve(present_modes.size());