Skip to content

Commit

Permalink
inherit from QOpenGLFunctions instead of QOpenGLFunctions_2_1
Browse files Browse the repository at this point in the history
The generic QOpenGLFunctions class supports OpenGL ES 2.0, the
minimum supported by Qt 5. Mixxx builds and runs fine with this;
desktop OpenGL 2.1 is not required.
  • Loading branch information
Be-ing committed Feb 12, 2024
1 parent 64641fa commit 06b7c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/waveform/renderers/glwaveformrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)

#include <QOpenGLFunctions_2_1>
#include <QOpenGLFunctions>

class GLWaveformRenderer : protected QOpenGLFunctions_2_1 {
class GLWaveformRenderer : protected QOpenGLFunctions {
public:
virtual void initializeGL() {
initializeOpenGLFunctions();
Expand Down

0 comments on commit 06b7c4c

Please sign in to comment.