1
0
Fork 0
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:
reuk 2021-07-12 12:13:16 +01:00
parent 3c5f09243a
commit d64c4277b4
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -544,9 +544,11 @@ public:
nativeContext->setSwapInterval (1);
#if ! JUCE_OPENGL_ES
JUCE_CHECK_OPENGL_ERROR
shadersAvailable = OpenGLShaderProgram::getLanguageVersion() > 0;
clearGLError();
#endif
textureNpotSupported = contextHasTextureNpotFeature();