From 8028cbe633372ee91ec7d1d0b910884cecc8e4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 24 Feb 2021 22:09:12 +0100 Subject: [PATCH] GL: ensure no errors are thrown when asking for Context strings. 'cuz I have a feelink like they do get thrown. --- src/Magnum/GL/Test/ContextGLTest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/GL/Test/ContextGLTest.cpp b/src/Magnum/GL/Test/ContextGLTest.cpp index e0c795249..362ec5970 100644 --- a/src/Magnum/GL/Test/ContextGLTest.cpp +++ b/src/Magnum/GL/Test/ContextGLTest.cpp @@ -198,6 +198,9 @@ void ContextGLTest::stringFlags() { TestSuite::Compare::GreaterOrEqual); } } + + /* There should be no errors caused by any of these */ + MAGNUM_VERIFY_NO_GL_ERROR(); } void ContextGLTest::constructConfiguration() {