X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fflame.c;h=01f16ababa6c235a7e66b03c2781d0992570d9f6;hp=3b3293062c75bfc0d773d371dbc8b5e2631a0c3f;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7 diff --git a/hacks/flame.c b/hacks/flame.c index 3b329306..01f16aba 100644 --- a/hacks/flame.c +++ b/hacks/flame.c @@ -173,7 +173,7 @@ flame_init (Display *dpy, Window window) static int recurse (struct state *st, double x, double y, int l, Display *dpy, Window win) { - int xp, yp, i; + int /*xp, yp,*/ i; double nx, ny; if (l == st->max_levels) @@ -184,8 +184,8 @@ recurse (struct state *st, double x, double y, int l, Display *dpy, Window win) if (x > -1.0 && x < 1.0 && y > -1.0 && y < 1.0) { - xp = st->points[st->num_points].x = (int) ((st->width / 2) * (x + 1.0)); - yp = st->points[st->num_points].y = (int) ((st->height / 2) * (y + 1.0)); +/* xp = st->points[st->num_points].x = (int) ((st->width / 2) * (x + 1.0)); + yp = st->points[st->num_points].y = (int) ((st->height / 2) * (y + 1.0));*/ st->num_points++; if (st->num_points >= POINT_BUFFER_SIZE) {