aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
diff options
context:
space:
mode:
authorMike Schuchardt <mikes@lunarg.com>2025-07-20 22:59:59 -0700
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2025-07-21 09:48:36 -0500
commitf766b30b2de3ffe2cf6b656d943720882617ec58 (patch)
treec8488339a0c84d77fbfa4af89f9db761de021193 /cube/cube.cpp
parent36f2e7584258bea0b6d71aed7108f5afe11ea494 (diff)
downloadusermoji-f766b30b2de3ffe2cf6b656d943720882617ec58.tar.xz
build: Update to header 1.4.323
- Fix a warning in cube.cpp due to resetFences becoming nodiscard
Diffstat (limited to 'cube/cube.cpp')
-rw-r--r--cube/cube.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp
index a448ddab..ef43a4b7 100644
--- a/cube/cube.cpp
+++ b/cube/cube.cpp
@@ -901,7 +901,8 @@ void Demo::draw() {
}
// Only reset right before submitting so we can't deadlock on an un-signalled fence that has nothing submitted to it
- device.resetFences({current_submission.fence});
+ auto reset_result = device.resetFences({current_submission.fence});
+ VERIFY(reset_result == vk::Result::eSuccess);
// Wait for the image acquired semaphore to be signaled to ensure
// that the image won't be rendered to until the presentation