diff options
| author | Tony-LunarG <tony@lunarg.com> | 2021-06-11 12:00:30 -0600 |
|---|---|---|
| committer | Tony Barbour <tony@lunarg.com> | 2021-06-11 14:10:41 -0600 |
| commit | bbdf584b4f62718c4e3b3d844fe1b5893dce4112 (patch) | |
| tree | fae53755b0fabd21505ce1ac45278a75719ee3d2 /cube/cube.cpp | |
| parent | 1021540dc2d2b524d837299865ebc2e0c93cfe59 (diff) | |
| download | usermoji-bbdf584b4f62718c4e3b3d844fe1b5893dce4112.tar.xz | |
vkcube: Fix compilier warnings
Change-Id: I199d4064f0e034cb747a87844c250203fcf22157
Diffstat (limited to 'cube/cube.cpp')
| -rw-r--r-- | cube/cube.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp index 2e423922..e5b2782b 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -809,7 +809,7 @@ void Demo::draw() { } else if (result == vk::Result::eSuboptimalKHR) { // SUBOPTIMAL could be due to resize vk::SurfaceCapabilitiesKHR surfCapabilities; - auto result = gpu.getSurfaceCapabilitiesKHR(surface, &surfCapabilities); + result = gpu.getSurfaceCapabilitiesKHR(surface, &surfCapabilities); VERIFY(result == vk::Result::eSuccess); if (surfCapabilities.currentExtent.width != width || surfCapabilities.currentExtent.height != height) { resize(); |
