Skip to content

Commit

Permalink
PostProcessing: Compile warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 3, 2025
1 parent f9bb413 commit 52e6e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/postprocessing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ GPUDevice::PresentResult PostProcessing::Chain::Apply(GPUTexture* input_color, G
draw_final_target = GetTextureUnusedAtEndOfChain();
}

const float time = Timer::ConvertValueToSeconds(Timer::GetCurrentValue() - s_start_time);
const float time = static_cast<float>(Timer::ConvertValueToSeconds(Timer::GetCurrentValue() - s_start_time));
for (const std::unique_ptr<Shader>& stage : m_stages)
{
const bool is_final = (stage.get() == m_stages.back().get());
Expand Down

0 comments on commit 52e6e8f

Please sign in to comment.