From 6518e2d1f1cf02080ee973d79056afdd727414dd Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 28 Dec 2022 16:24:28 +0100 Subject: Fix merge error in animated.cxx (sorry for the noise) --- test/animated.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/animated.cxx b/test/animated.cxx index e7f8ea793..15dde5d68 100644 --- a/test/animated.cxx +++ b/test/animated.cxx @@ -87,9 +87,9 @@ static void make_images() { // A moving blob const float pos = (i / (float) frames) * 2 - 0.5f; - const int xoffset = int(pos * DIM); - const int yoffset = 2 * DIM / 3; - const int w = DIM / 4; + const int xoffset = int(pos * dim); + const int yoffset = 2 * dim / 3; + const int w = dim / 4; for (x = -w; x < w; x++) { if (x + xoffset < 0 || x + xoffset >= (int)dim) -- cgit v1.2.3