diff --git a/src/Magnum/Implementation/setupDriverWorkarounds.cpp b/src/Magnum/Implementation/setupDriverWorkarounds.cpp index 6a0357bf8..ce3df73f9 100644 --- a/src/Magnum/Implementation/setupDriverWorkarounds.cpp +++ b/src/Magnum/Implementation/setupDriverWorkarounds.cpp @@ -41,7 +41,7 @@ void Context::setupDriverWorkarounds() { #ifdef CORRADE_TARGET_WINDOWS /* On Windows Intel drivers ARB_shading_language_420pack is exposed in GLSL even that the extension (e.g. binding keyword) is not supported */ - if((detectedDriver() & DetectedDriver::IntelWindows) && !Context::current()->isExtensionSupported(version)) + if((detectedDriver() & DetectedDriver::IntelWindows) && !Context::current()->isExtensionSupported()) _setRequiredVersion(GL::ARB::shading_language_420pack, None); #endif