mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-23 13:55:30 +00:00
Merge pull request #11981 from lucasreis1/patch
Allocate resources for test window before getting system info
This commit is contained in:
commit
2f9487cd38
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue