From 06b412fed0db7ad4208920057b8aff6dfcd1a863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 18 Nov 2014 20:35:21 +0100 Subject: [PATCH] Test: ensure that all extensions are available. I'm not really sure what extensions ARB_cube_map_texture_array expects and what not, so checking for everything just in case. --- src/Magnum/Test/CubeMapTextureArrayGLTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/Test/CubeMapTextureArrayGLTest.cpp b/src/Magnum/Test/CubeMapTextureArrayGLTest.cpp index 6ec415ff8..c4369f644 100644 --- a/src/Magnum/Test/CubeMapTextureArrayGLTest.cpp +++ b/src/Magnum/Test/CubeMapTextureArrayGLTest.cpp @@ -425,6 +425,8 @@ void CubeMapTextureArrayGLTest::subImageBuffer() { void CubeMapTextureArrayGLTest::generateMipmap() { if(!Context::current()->isExtensionSupported()) CORRADE_SKIP(Extensions::GL::ARB::texture_cube_map_array::string() + std::string(" is not supported.")); + if(!Context::current()->isExtensionSupported()) + CORRADE_SKIP(Extensions::GL::ARB::framebuffer_object::string() + std::string(" is not supported.")); CubeMapTextureArray texture; texture.setImage(0, TextureFormat::RGBA8,