diff --git a/src/Magnum/GL/Test/MeshGLTest.cpp b/src/Magnum/GL/Test/MeshGLTest.cpp index db1de0fb2..323f311fa 100644 --- a/src/Magnum/GL/Test/MeshGLTest.cpp +++ b/src/Magnum/GL/Test/MeshGLTest.cpp @@ -439,6 +439,14 @@ template void MeshGLTest::primitive() { #ifndef MAGNUM_TARGET_WEBGL void MeshGLTest::label() { + #ifndef MAGNUM_TARGET_GLES + if(!Context::current().isExtensionSupported()) + CORRADE_SKIP(Extensions::ARB::vertex_array_object::string() + std::string(" is not available.")); + #elif defined(MAGNUM_TARGET_GLES2) + if(!Context::current().isExtensionSupported()) + CORRADE_SKIP(Extensions::OES::vertex_array_object::string() + std::string(" is not available.")); + #endif + /* No-Op version is tested in AbstractObjectGLTest */ if(!Context::current().isExtensionSupported() && !Context::current().isExtensionSupported())