diff --git a/src/Magnum/DebugTools/CompareImage.cpp b/src/Magnum/DebugTools/CompareImage.cpp index ab3d634f6..4ab899121 100644 --- a/src/Magnum/DebugTools/CompareImage.cpp +++ b/src/Magnum/DebugTools/CompareImage.cpp @@ -186,7 +186,8 @@ void printDeltaImage(Debug& out, Containers::ArrayView deltas, cons out << " |"; for(std::int_fast32_t x = 0; x != blockCount.x(); ++x) { - /* Going bottom-up so we don't flip the image upside down when printing */ + /* Going bottom-up so we don't flip the image upside down when + printing */ const Vector2i offset = Vector2i{Int(x), blockCount.y() - Int(y) - 1}*pixelsPerBlock; const Vector2i blockSize = Math::min(size - offset, Vector2i{pixelsPerBlock}); diff --git a/src/Magnum/DebugTools/CompareImage.h b/src/Magnum/DebugTools/CompareImage.h index 218ac06b7..d030ecee8 100644 --- a/src/Magnum/DebugTools/CompareImage.h +++ b/src/Magnum/DebugTools/CompareImage.h @@ -151,7 +151,7 @@ namespace Magnum { namespace DebugTools { To be used with @ref Corrade::TestSuite. -@note This class is available only if Magnum is compiled with `WITH_TRADE` +@note This class is available only if Magnum is compiled with `WITH_DEBUGTOOLS` enabled (done by default). See @ref building-features for more information. Basic use is really simple: diff --git a/src/Magnum/DebugTools/Test/CompareImageTest.cpp b/src/Magnum/DebugTools/Test/CompareImageTest.cpp index 74e77e660..1f152372c 100644 --- a/src/Magnum/DebugTools/Test/CompareImageTest.cpp +++ b/src/Magnum/DebugTools/Test/CompareImageTest.cpp @@ -177,8 +177,8 @@ CompareImageTest::CompareImageTest() { } const Float ActualRedData[] = { - 0.3f, 1.0f, 0.9f, - 0.9f, 0.6f, 0.2f, + 0.3f, 1.0f, 0.9f, + 0.9f, 0.6f, 0.2f, -0.1f, 1.0f, 0.0f };