diff --git a/src/Text/Test/RendererGLTest.cpp b/src/Text/Test/RendererGLTest.cpp index c3a8b1e9d..13a85d42d 100644 --- a/src/Text/Test/RendererGLTest.cpp +++ b/src/Text/Test/RendererGLTest.cpp @@ -253,6 +253,17 @@ void RendererGLTest::renderMeshIndexType() { } void RendererGLTest::mutableText() { + #ifndef MAGNUM_TARGET_GLES + if(!Context::current()->isExtensionSupported()) + CORRADE_SKIP(Extensions::GL::ARB::map_buffer_range::string() + std::string(" is not supported")); + #elif defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_EMSCRIPTEN) + if(!Context::current()->isExtensionSupported() && + !Context::current()->isExtensionSupported() && + !Context::current()->isExtensionSupported()) { + CORRADE_SKIP("No required extension is supported"); + } + #endif + TestFont font; Text::Renderer2D renderer(font, *static_cast(nullptr), 0.25f); MAGNUM_VERIFY_NO_ERROR();