From e3ef801dae53d8cbe7ff3c1a2509611c653d12ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 6 Oct 2024 16:50:07 +0200 Subject: [PATCH] GL: another NVidia-specific XFAIL for BufferTexture. This also doesn't seem too important. --- src/Magnum/GL/Test/BufferTextureGLTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Magnum/GL/Test/BufferTextureGLTest.cpp b/src/Magnum/GL/Test/BufferTextureGLTest.cpp index 0e65c9dbc..cb7eb1236 100644 --- a/src/Magnum/GL/Test/BufferTextureGLTest.cpp +++ b/src/Magnum/GL/Test/BufferTextureGLTest.cpp @@ -295,7 +295,10 @@ void BufferTextureGLTest::setBufferEmptyFirst() { CORRADE_SKIP("OpenGL ES 3.1 not supported, skipping image size testing."); #endif - CORRADE_COMPARE(texture.size(), 4); + { + CORRADE_EXPECT_FAIL_IF(Context::current().detectedDriver() & Context::DetectedDriver::NVidia, "NVidia doesn't refresh texture size if the buffer is updated after being assigned to the texture."); + CORRADE_COMPARE(texture.size(), 4); + } MAGNUM_VERIFY_NO_GL_ERROR(); }