projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver]
/
hacks
/
flame.c
diff --git
a/hacks/flame.c
b/hacks/flame.c
index 3b3293062c75bfc0d773d371dbc8b5e2631a0c3f..01f16ababa6c235a7e66b03c2781d0992570d9f6 100644
(file)
--- 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)
{
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)
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)
{
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)
{
st->num_points++;
if (st->num_points >= POINT_BUFFER_SIZE)
{