Browse Source

GL: don't reset GL context flags in OpenGLTester.

Yay, I was bit by this quite soon!
pull/268/merge
Vladimír Vondruš 8 years ago
parent
commit
9973913b23
  1. 2
      src/Magnum/GL/OpenGLTester.cpp

2
src/Magnum/GL/OpenGLTester.cpp

@ -37,7 +37,7 @@ OpenGLTester::OpenGLTester(): TestSuite::Tester{TestSuite::Tester::TesterConfigu
/* Try to create debug context, fallback to normal one if not possible. No
such thing on macOS, iOS or WebGL. */
#if !defined(CORRADE_TARGET_APPLE) && !defined(MAGNUM_TARGET_WEBGL)
if(!_windowlessApplication.tryCreateContext(Platform::WindowlessApplication::Configuration{}.setFlags(Platform::WindowlessApplication::Configuration::Flag::Debug)))
if(!_windowlessApplication.tryCreateContext(Platform::WindowlessApplication::Configuration{}.addFlags(Platform::WindowlessApplication::Configuration::Flag::Debug)))
_windowlessApplication.createContext();
#else
_windowlessApplication.createContext();

Loading…
Cancel
Save