From 04aeebaf1da56428fa88af6c96ec29391bd67957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 10 Feb 2022 13:57:07 +0100 Subject: [PATCH] TextureTools: print a note if we're using EXT_texture_rg in a test. --- src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp b/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp index aa468991f..9517ef7c2 100644 --- a/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp +++ b/src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp @@ -110,10 +110,12 @@ void DistanceFieldGLTest::test() { const GL::TextureFormat inputFormat = GL::TextureFormat::R8; #elif !defined(MAGNUM_TARGET_WEBGL) GL::TextureFormat inputFormat; - if(GL::Context::current().isExtensionSupported()) + if(GL::Context::current().isExtensionSupported()) { + CORRADE_INFO("Using" << GL::Extensions::EXT::texture_rg::string()); inputFormat = GL::TextureFormat::R8; - else + } else { inputFormat = GL::TextureFormat::Luminance; /** @todo Luminance8 */ + } #else const GL::TextureFormat inputFormat = GL::TextureFormat::Luminance; #endif