Skip to content

Commit 17a7ecc

Browse files
m0dBacolombier
andauthored
Update src/waveform/renderers/allshader/waveformrenderersimple.cpp
float postfix Co-authored-by: Antoine Colombier <7086688+acolombier@users.noreply.github.com>
1 parent b89f742 commit 17a7ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/waveform/renderers/allshader/waveformrenderersimple.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bool WaveformRendererSimple::preprocessInner() {
6262
const int length = static_cast<int>(m_waveformRenderer->getLength());
6363
const int pixelLength = static_cast<int>(m_waveformRenderer->getLength() * devicePixelRatio);
6464
const float invDevicePixelRatio = 1.f / devicePixelRatio;
65-
const float halfPixelSize = 0.5 / devicePixelRatio;
65+
const float halfPixelSize = 0.5f / devicePixelRatio;
6666

6767
// Note that waveform refers to the visual waveform, not to audio samples.
6868
//

0 commit comments

Comments
 (0)