Skip to content

Commit 8aa39f9

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/waveform/renderers/allshader/waveformrendererrgb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ bool WaveformRendererRGB::preprocessInner() {
7575
const int length = static_cast<int>(m_waveformRenderer->getLength());
7676
const int pixelLength = static_cast<int>(m_waveformRenderer->getLength() * devicePixelRatio);
7777
const float invDevicePixelRatio = 1.f / devicePixelRatio;
78-
const float halfPixelSize = 0.5 / devicePixelRatio;
78+
const float halfPixelSize = 0.5f / devicePixelRatio;
7979

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

0 commit comments

Comments
 (0)