mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
OpenGL: Reinstate ifdef which was removed accidentally
This commit is contained in:
parent
3c5f09243a
commit
d64c4277b4
1 changed files with 2 additions and 0 deletions
|
|
@ -544,9 +544,11 @@ public:
|
|||
|
||||
nativeContext->setSwapInterval (1);
|
||||
|
||||
#if ! JUCE_OPENGL_ES
|
||||
JUCE_CHECK_OPENGL_ERROR
|
||||
shadersAvailable = OpenGLShaderProgram::getLanguageVersion() > 0;
|
||||
clearGLError();
|
||||
#endif
|
||||
|
||||
textureNpotSupported = contextHasTextureNpotFeature();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue