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);