summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLucas Reis <lucas.reis091997@gmail.com>2023-11-08 03:47:02 +0100
committerLucas Reis <lucas.reis091997@gmail.com>2023-11-08 03:47:02 +0100
commitedce713fc92881bea1f6bb049b06efb2e86d81fa (patch)
treed93642e212d8f9042be265c6a199f2d648c0eaf9 /src
parentMerge pull request #11977 from SamayXD/patch-1 (diff)
downloadyuzu-edce713fc92881bea1f6bb049b06efb2e86d81fa.tar
yuzu-edce713fc92881bea1f6bb049b06efb2e86d81fa.tar.gz
yuzu-edce713fc92881bea1f6bb049b06efb2e86d81fa.tar.bz2
yuzu-edce713fc92881bea1f6bb049b06efb2e86d81fa.tar.lz
yuzu-edce713fc92881bea1f6bb049b06efb2e86d81fa.tar.xz
yuzu-edce713fc92881bea1f6bb049b06efb2e86d81fa.tar.zst
yuzu-edce713fc92881bea1f6bb049b06efb2e86d81fa.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/vk_device_info.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/vk_device_info.cpp b/src/yuzu/vk_device_info.cpp
index 92f10d315..ab0d39c25 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;