aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Kraus <petr_kraus@email.cz>2020-04-28 20:30:19 +0200
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2020-04-28 17:01:14 -0600
commitc0f34c020d9d1c75cb9d57f31240381090fdbbdf (patch)
treeb591f6660b63f4d257dd140c43c1302fe5ec7d49
parent30eb0a301c333a2825910c791937a7365edc1801 (diff)
downloadusermoji-c0f34c020d9d1c75cb9d57f31240381090fdbbdf.tar.xz
vulkaninfo: Meet extension version dependencies
Fixes error when VK_KHR_surface_protected_capabilities is enabled with Vulkan 1.0
-rw-r--r--vulkaninfo/vulkaninfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vulkaninfo/vulkaninfo.h b/vulkaninfo/vulkaninfo.h
index d32cdf56..043106d4 100644
--- a/vulkaninfo/vulkaninfo.h
+++ b/vulkaninfo/vulkaninfo.h
@@ -622,7 +622,7 @@ struct AppInstance {
DbgCallback};
const VkApplicationInfo app_info = {
- VK_STRUCTURE_TYPE_APPLICATION_INFO, nullptr, app_short_name, 1, nullptr, 0, VK_API_VERSION_1_0};
+ VK_STRUCTURE_TYPE_APPLICATION_INFO, nullptr, app_short_name, 1, nullptr, 0, instance_version};
AppCompileInstanceExtensionsToEnable();