From d2b1685a71a82b6c346a78d96e5df7823a5eadbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 11 Jun 2015 01:28:49 +0200 Subject: [PATCH] Properly check extensions in BufferTextureGLTest. --- src/Magnum/Test/BufferTextureGLTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/Test/BufferTextureGLTest.cpp b/src/Magnum/Test/BufferTextureGLTest.cpp index 6914f1580..af0fc1874 100644 --- a/src/Magnum/Test/BufferTextureGLTest.cpp +++ b/src/Magnum/Test/BufferTextureGLTest.cpp @@ -124,6 +124,8 @@ void BufferTextureGLTest::setBuffer() { void BufferTextureGLTest::setBufferOffset() { if(!Context::current()->isExtensionSupported()) CORRADE_SKIP(Extensions::GL::ARB::texture_buffer_object::string() + std::string(" is not supported.")); + if(!Context::current()->isExtensionSupported()) + CORRADE_SKIP(Extensions::GL::ARB::texture_buffer_range::string() + std::string(" is not supported.")); /* Check that we have correct offset alignment */ CORRADE_INTERNAL_ASSERT(256 % BufferTexture::offsetAlignment() == 0);