diff options
Diffstat (limited to 'demos/cube.cpp')
| -rw-r--r-- | demos/cube.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/cube.cpp b/demos/cube.cpp index 3ef4f4ea..a9965719 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -453,6 +453,7 @@ struct Demo { } else if (result == vk::Result::eSuboptimalKHR) { // swapchain is not as optimal as it could be, but the platform's // presentation engine will still present the image correctly. + break; } else { VERIFY(result == vk::Result::eSuccess); } |
