diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-12-28 16:24:28 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-12-28 16:24:28 +0100 |
| commit | 6518e2d1f1cf02080ee973d79056afdd727414dd (patch) | |
| tree | 8ac4f4736ab8111dead0c549342d4930a02862fa /test/animated.cxx | |
| parent | 03389d193181128c3911543a52c78a6e7631ab57 (diff) | |
Fix merge error in animated.cxx (sorry for the noise)
Diffstat (limited to 'test/animated.cxx')
| -rw-r--r-- | test/animated.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
