Fixes #1052
This commit is contained in:
Sascha Willems 2023-07-16 13:44:46 +02:00
parent 054a765eaa
commit df55238b11

View file

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