We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a7ecc commit 8aa39f9Copy full SHA for 8aa39f9
src/waveform/renderers/allshader/waveformrendererrgb.cpp
@@ -75,7 +75,7 @@ bool WaveformRendererRGB::preprocessInner() {
75
const int length = static_cast<int>(m_waveformRenderer->getLength());
76
const int pixelLength = static_cast<int>(m_waveformRenderer->getLength() * devicePixelRatio);
77
const float invDevicePixelRatio = 1.f / devicePixelRatio;
78
- const float halfPixelSize = 0.5 / devicePixelRatio;
+ const float halfPixelSize = 0.5f / devicePixelRatio;
79
80
// See waveformrenderersimple.cpp for a detailed explanation of the frame and index calculation
81
const int visualFramesSize = dataSize / 2;
0 commit comments