From e746b38d3c8b930f5ff7563e1e4a5f9ccd19fdb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 11 Jul 2019 19:17:15 +0200 Subject: [PATCH] GL: what?! why? no. --- src/Magnum/GL/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/GL/Context.cpp b/src/Magnum/GL/Context.cpp index 3f2a28acd..c453f39cc 100644 --- a/src/Magnum/GL/Context.cpp +++ b/src/Magnum/GL/Context.cpp @@ -748,7 +748,7 @@ bool Context::tryCreate() { /* Enable GPU validation, if requested */ if(_internalFlags & InternalFlag::GpuValidation) { #ifndef MAGNUM_TARGET_WEBGL - if(Context::current().isExtensionSupported()) { + if(isExtensionSupported()) { Renderer::enable(Renderer::Feature::DebugOutput); Renderer::enable(Renderer::Feature::DebugOutputSynchronous); DebugOutput::setDefaultCallback();