Compare commits

..

3 Commits

Author SHA1 Message Date
0a22e24289 Android #129 2023-11-11 00:57:19 +00:00
2f9487cd38 Merge pull request #11981 from lucasreis1/patch
Allocate resources for test window before getting system info
2023-11-10 10:38:49 -05:00
edce713fc9 Allocate resources for test window before getting system info 2023-11-07 22:47:02 -04:00

View File

@ -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;