From ca84e60d6623cce80823aca1f100b5bffd906e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 24 Jul 2014 21:06:16 +0200 Subject: [PATCH] Fix CubeMapTexture test. This time thank you, hardened NVidia drivers. --- src/Magnum/Test/CubeMapTextureGLTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Test/CubeMapTextureGLTest.cpp b/src/Magnum/Test/CubeMapTextureGLTest.cpp index 7428b0e10..0f77f2bc4 100644 --- a/src/Magnum/Test/CubeMapTextureGLTest.cpp +++ b/src/Magnum/Test/CubeMapTextureGLTest.cpp @@ -467,7 +467,7 @@ void CubeMapTextureGLTest::invalidateImage() { void CubeMapTextureGLTest::invalidateSubImage() { CubeMapTexture texture; texture.setStorage(2, TextureFormat::RGBA8, Vector2i(32)); - texture.invalidateSubImage(1, Vector3i(2), Vector3i(8)); + texture.invalidateSubImage(1, Vector3i(2), Vector3i(Vector2i(8), 4)); MAGNUM_VERIFY_NO_ERROR(); }