Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/Vulkan-Loader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/loader_version_tests.cpp')
-rw-r--r--tests/loader_version_tests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/loader_version_tests.cpp b/tests/loader_version_tests.cpp
index 04c22acea..3cf094c39 100644
--- a/tests/loader_version_tests.cpp
+++ b/tests/loader_version_tests.cpp
@@ -516,7 +516,8 @@ TEST(MultipleICDConfig, version_5_and_version_6) {
env.vulkan_functions.vkEnumeratePhysicalDevices(inst.inst, &returned_physical_count, physical_device_handles.data()));
ASSERT_EQ(physical_count, returned_physical_count);
- VkSurfaceKHR surface = create_surface(inst);
+ VkSurfaceKHR surface{};
+ create_surface(inst, surface);
for (const auto& handle : physical_device_handles) {
handle_assert_has_value(handle);