From df55238b117bedcff841523e834c696aec4a0a62 Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Sun, 16 Jul 2023 13:44:46 +0200 Subject: [PATCH] Fix typo Fixes #1052 --- base/vulkanexamplebase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index d20dc168..713d1646 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -821,7 +821,7 @@ VulkanExampleBase::VulkanExampleBase(bool enableValidation) settings.vsync = true; } if (commandLineParser.isSet("height")) { - height = commandLineParser.getValueAsInt("height", width); + height = commandLineParser.getValueAsInt("height", height); } if (commandLineParser.isSet("width")) { width = commandLineParser.getValueAsInt("width", width);