Skip to content

Commit

Permalink
Update src/waveform/renderers/allshader/waveformrendererhsv.cpp
Browse files Browse the repository at this point in the history
float postfix

Co-authored-by: Antoine Colombier <[email protected]>
  • Loading branch information
m0dB and acolombier authored Jan 19, 2025
1 parent f9751ef commit b89f742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waveform/renderers/allshader/waveformrendererhsv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ bool WaveformRendererHSV::preprocessInner() {
const int length = static_cast<int>(m_waveformRenderer->getLength());
const int pixelLength = static_cast<int>(m_waveformRenderer->getLength() * devicePixelRatio);
const float invDevicePixelRatio = 1.f / devicePixelRatio;
const float halfPixelSize = 0.5 / devicePixelRatio;
const float halfPixelSize = 0.5f / devicePixelRatio;

// See waveformrenderersimple.cpp for a detailed explanation of the frame and index calculation
const int visualFramesSize = dataSize / 2;
Expand Down

0 comments on commit b89f742

Please sign in to comment.