diff options
| author | Charles Giessen <charles@lunarg.com> | 2025-04-21 17:09:23 -0500 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2025-04-21 17:00:14 -0600 |
| commit | 7ef5a8961fe6d295792ee3b23e249f0f02035e7a (patch) | |
| tree | 1ffbfb531603db797f0acb86391d4bb4d85efc75 /cube/cube.cpp | |
| parent | b1fc6158fd3da69cd16b1e261e0e84f1f3bed89f (diff) | |
| download | usermoji-7ef5a8961fe6d295792ee3b23e249f0f02035e7a.tar.xz | |
cube: Update formatting to clang-format-18
Diffstat (limited to 'cube/cube.cpp')
| -rw-r--r-- | cube/cube.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp index ec292436..d31fdf3d 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -1896,7 +1896,9 @@ void Demo::select_physical_device() { exit(1); } #else - printf("WSI selection was set to DISPLAY but vkcubepp was not compiled with support for the DISPLAY platform, exiting \n"); + printf( + "WSI selection was set to DISPLAY but vkcubepp was not compiled with support for the DISPLAY platform, exiting " + "\n"); fflush(stdout); exit(1); #endif @@ -2975,7 +2977,8 @@ void Demo::resize() { // In order to properly resize the window, we must re-create the // swapchain // - // First, destroy the old swapchain and its associated resources, setting swapchain_ready to false to prevent draw from running + // First, destroy the old swapchain and its associated resources, setting swapchain_ready to false to prevent draw from + // running if (swapchain_ready) { swapchain_ready = false; auto result = device.waitIdle(); |
