Browse Source

GL: no need for these hacks anymore.

euler-xxx
Vladimír Vondruš 5 years ago
parent
commit
bc9a34ce1b
  1. 5
      src/Magnum/GL/Test/ContextGLTest.cpp

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

Loading…
Cancel
Save