From bc9a34ce1be36f987d60a28625b03bef319ae0ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 24 Feb 2021 21:42:59 +0100 Subject: [PATCH] GL: no need for these hacks anymore. --- src/Magnum/GL/Test/ContextGLTest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Magnum/GL/Test/ContextGLTest.cpp b/src/Magnum/GL/Test/ContextGLTest.cpp index d14910ca6..e0c795249 100644 --- a/src/Magnum/GL/Test/ContextGLTest.cpp +++ b/src/Magnum/GL/Test/ContextGLTest.cpp @@ -246,8 +246,9 @@ void ContextGLTest::makeCurrent() { CORRADE_VERIFY(!Context::hasCurrent()); { - const char* argv[]{"", "--magnum-log", "off"}; - Platform::GLContext ctx{Int(Containers::arraySize(argv)), argv}; + Platform::GLContext ctx{Context::Configuration{} + .setFlags(Context::Configuration::Flag::QuietLog) + }; CORRADE_VERIFY(Context::hasCurrent()); }