From 493814d3bcdcbfc56ac8b6e7e053b404f0a464ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 1 Jul 2025 18:55:09 +0200 Subject: [PATCH] GL: this seems broken only on Mesa Intel, llvmpipe works. --- src/Magnum/GL/Test/TextureGLTest.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Magnum/GL/Test/TextureGLTest.cpp b/src/Magnum/GL/Test/TextureGLTest.cpp index 78c8f19b5..329ca0e20 100644 --- a/src/Magnum/GL/Test/TextureGLTest.cpp +++ b/src/Magnum/GL/Test/TextureGLTest.cpp @@ -2745,8 +2745,10 @@ void TextureGLTest::subImage3DQueryBuffer() { MAGNUM_VERIFY_NO_GL_ERROR(); CORRADE_COMPARE(image.size(), Vector3i{2}); - CORRADE_EXPECT_FAIL_IF(Context::current().detectedDriver() & Context::DetectedDriver::Mesa, - "Mesa has this broken since 21.2, worked fine with 21.1."); + /* Works fine with llvmpipe. No idea about Mesa AMD and such. */ + CORRADE_EXPECT_FAIL_IF( + Context::current().rendererString().contains("Mesa Intel(R)"), + "Mesa Intel has this broken since 21.2, worked fine with 21.1."); CORRADE_COMPARE_AS(Containers::arrayCast(imageData).exceptPrefix(data.offset), data.data, TestSuite::Compare::Container);