Skip to content

Commit

Permalink
Fix release build.
Browse files Browse the repository at this point in the history
Debug only variable.
  • Loading branch information
phoenixxxx committed Nov 4, 2024
1 parent a8bada8 commit 9d05bd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion filament/backend/src/vulkan/VulkanCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ VkSemaphore VulkanCommandBuffer::submit() {
#endif

mFenceStatus->setStatus(VK_NOT_READY);
VkResult result = vkQueueSubmit(mQueue, 1, &submitInfo, mFence);
UTILS_UNUSED_IN_RELEASE VkResult result =
vkQueueSubmit(mQueue, 1, &submitInfo, mFence);

#if FVK_ENABLED(FVK_DEBUG_COMMAND_BUFFER)
if (result != VK_SUCCESS) {
Expand Down

0 comments on commit 9d05bd1

Please sign in to comment.