From b5d9e1cfb730917dbdb53d82d5301ad50798d031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 26 Feb 2020 17:49:32 +0100 Subject: [PATCH] GL: improve a test. It's tested everywhere but here so I guess it was some accidental omission. --- src/Magnum/GL/Test/PixelFormatTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Magnum/GL/Test/PixelFormatTest.cpp b/src/Magnum/GL/Test/PixelFormatTest.cpp index 4a63a526c..4f06e26bb 100644 --- a/src/Magnum/GL/Test/PixelFormatTest.cpp +++ b/src/Magnum/GL/Test/PixelFormatTest.cpp @@ -203,6 +203,7 @@ void PixelFormatTest::mapFormatUnsupported() { std::ostringstream out; Error redirectError{&out}; + CORRADE_VERIFY(!hasPixelFormat(Magnum::PixelFormat::RGB16UI)); pixelFormat(Magnum::PixelFormat::RGB16UI); CORRADE_COMPARE(out.str(), "GL::pixelFormat(): format PixelFormat::RGB16UI is not supported on this target\n"); #endif