Skip to content

Commit

Permalink
Fixed Clang compiler error 11/06/2024 | 24w45a2
Browse files Browse the repository at this point in the history
  • Loading branch information
GamesTrap committed Nov 5, 2024
1 parent 5e203de commit 6bf2796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TRAP/src/Graphics/API/Vulkan/VulkanRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ void TRAP::Graphics::API::VulkanRenderer::EndGraphicRecording(PerViewportData& p
//End Recording
p.GraphicCommandBuffers[p.ImageIndex]->End();

TRAP::Optional<u64> reflexPresentID{};
#ifndef TRAP_HEADLESS_MODE
TRAP::Optional<u64> reflexPresentID{};
const VulkanSwapChain* const vkSwapChain = dynamic_cast<const VulkanSwapChain* const>(p.SwapChain.get());
if (p.ReflexLatencyMode != NVIDIAReflexLatencyMode::Disabled)
reflexPresentID = vkSwapChain->GetPresentCount();
Expand Down

0 comments on commit 6bf2796

Please sign in to comment.