Skip to content

Commit

Permalink
missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB committed Oct 28, 2022
1 parent 50bc499 commit 2969a38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/waveform/renderers/qopengl/fixedpointcalc.h
@@ -1,5 +1,7 @@
/// functions to do fixed point calculations, used by qopengl::WaveformRendererRGB

#include <cmath>

// float to fixed point with 8 fractional bits, clipped at 4.0
inline uint32_t toFrac8(float x) {
return std::min<uint32_t>(static_cast<uint32_t>(std::max(x, 0.f) * 256.f), 4 * 256);
Expand Down
1 change: 1 addition & 0 deletions src/waveform/renderers/qopengl/waveformrendermark.cpp
Expand Up @@ -2,6 +2,7 @@

#include <QDomNode>
#include <QOpenGLTexture>
#include <QPainterPath>

#include "control/controlobject.h"
#include "engine/controls/cuecontrol.h"
Expand Down

0 comments on commit 2969a38

Please sign in to comment.