From 6baa1c748e489585f2270e9280eb834b89e1088a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 4 Oct 2014 18:36:02 +0200 Subject: [PATCH] Fix Windows compilation. --- src/Magnum/Implementation/setupDriverWorkarounds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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