Browse Source

Fixed linux opengl compile error.

tags/2021-05-28
jules 13 years ago
parent
commit
52aae5ed06
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_opengl/native/juce_OpenGL_linux.h

+ 1
- 1
modules/juce_opengl/native/juce_OpenGL_linux.h View File

@@ -106,7 +106,7 @@ public:
void initialiseOnRenderThread()
{
ScopedXLock xlock;
renderContext = glXCreateContext (display, bestVisual, contextToShareWith, GL_TRUE);
renderContext = glXCreateContext (display, bestVisual, (GLXContext) contextToShareWith, GL_TRUE);
makeActive();
}


Loading…
Cancel
Save