VERY experimental Nintendo Switch 2 emulator
C++
Allocate resources for test window before getting system info
Lucas Reis545747774347
diff --git a/src/yuzu/vk_device_info.cpp b/src/yuzu/vk_device_info.cppindex 92f10d3154..ab0d39c256 100644--- a/src/yuzu/vk_device_info.cpp+++ b/src/yuzu/vk_device_info.cpp@@ -31,6 +31,7 @@ void PopulateRecords(std::vector<Record>& records, QWindow* window) try {// Create a test window with a Vulkan surface type for checking present modes.QWindow test_window(window);test_window.setSurfaceType(QWindow::VulkanSurface);+ test_window.create();auto wsi = QtCommon::GetWindowSystemInfo(&test_window);vk::InstanceDispatch dld;