Browse Source

Remove the need for libprojectM/projectM-opengl.h

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 3 years ago
parent
commit
6242a2cbb2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 1 additions and 4 deletions
  1. +0
    -4
      plugins/ProM/DistrhoUIProM.cpp
  2. +1
    -0
      plugins/ProM/ResizeHandle.hpp

+ 0
- 4
plugins/ProM/DistrhoUIProM.cpp View File

@@ -14,7 +14,6 @@
* For a full copy of the license see the LICENSE file.
*/

#include "libprojectM/projectM-opengl.h"
#include "libprojectM/projectM.hpp"

#include "DistrhoPluginProM.hpp"
@@ -172,9 +171,6 @@ void DistrhoUIProM::onDisplay()
return;

fPM->renderFrame();

// turn off shaders at the end of the drawing cycle, so other things can draw properly
glUseProgram(0);
}

static projectMKeycode dgl2pmkey(const DGL_NAMESPACE::Key key) noexcept


+ 1
- 0
plugins/ProM/ResizeHandle.hpp View File

@@ -57,6 +57,7 @@ protected:
const double lineWidth = 1.0 * getScaleFactor();

#ifdef DGL_OPENGL
glUseProgram(0);
glMatrixMode(GL_MODELVIEW);
#endif



Loading…
Cancel
Save