From ad962415a211307f1292f2f02f8739dfa4ae4370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 26 May 2016 17:06:44 +0200 Subject: [PATCH] Oh, so it weren't NVidia drivers' fault after all. Just me trying to compare freed memory and, of course, failing. --- src/Magnum/Test/AbstractShaderProgramGLTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Test/AbstractShaderProgramGLTest.cpp b/src/Magnum/Test/AbstractShaderProgramGLTest.cpp index 5edeb0b12..d8f29e80c 100644 --- a/src/Magnum/Test/AbstractShaderProgramGLTest.cpp +++ b/src/Magnum/Test/AbstractShaderProgramGLTest.cpp @@ -711,7 +711,7 @@ void AbstractShaderProgramGLTest::compute() { /** @todo Test on ES */ #ifndef MAGNUM_TARGET_GLES - const auto data = out.image(0, {PixelFormat::RGBAInteger, PixelType::UnsignedByte}).data(); + const auto data = out.image(0, {PixelFormat::RGBAInteger, PixelType::UnsignedByte}).release(); MAGNUM_VERIFY_NO_ERROR();