This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Add workaround for OpenGL drivers which do not support glGetString(GL_SHADING_LANGUAGE_VERSION)
tags/2021-05-28
hogliux
9 years ago
parent
e6b4dcb6a2
commit
256e66dfa3
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
modules/juce_opengl/opengl/juce_OpenGLContext.cpp
+ 2
- 0
modules/juce_opengl/opengl/juce_OpenGLContext.cpp
View File
@@ -468,7 +468,9 @@ public:
nativeContext->setSwapInterval (1);
#if ! JUCE_OPENGL_ES
JUCE_CHECK_OPENGL_ERROR
shadersAvailable = OpenGLShaderProgram::getLanguageVersion() > 0;
clearGLError();
#endif
if (context.renderer != nullptr)
Write
Preview
Loading…
Cancel
Save