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()); }