Skip to content
Snippets Groups Projects
Commit edce713f authored by Lucas Reis's avatar Lucas Reis
Browse files

Allocate resources for test window before getting system info

parent f7536317
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment