From 0e707fe71f3dc255d950429e35474f02672643c6 Mon Sep 17 00:00:00 2001 From: alx Date: Fri, 21 Feb 2014 15:21:20 +0100 Subject: [PATCH] dtscreen: cosmic flame fractals missing drawing code --- cde/programs/dtscreen/flame.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cde/programs/dtscreen/flame.c b/cde/programs/dtscreen/flame.c index e4cfbca1..48e7a0e2 100644 --- a/cde/programs/dtscreen/flame.c +++ b/cde/programs/dtscreen/flame.c @@ -128,6 +128,8 @@ recurse(fs, x, y, l) return False; if (x > -1.0 && x < 1.0 && y > -1.0 && y < 1.0) { + fs->pts[fs->num_points].x = (int) ((fs->width / 2) * (x + 1.0)); + fs->pts[fs->num_points].y = (int) ((fs->height / 2) * (y + 1.0)); fs->num_points++; if (fs->num_points > MAXBATCH) { /* point buffer size */ XDrawPoints(dsp, fs->pwin->w, fs->pwin->gc, fs->pts, -- 2.25.1