X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fatlantis.c;h=d37998954977d62cd442aab77f5209bf329ea5c8;hp=b62d50d381e0eedbb91cad20f5daa80442e3edba;hb=c28aecf9fc41e3a03494bacf7279745425e2fa18;hpb=723c9eeee862766a1534b2ce17b78adbfac1c3be diff --git a/hacks/glx/atlantis.c b/hacks/glx/atlantis.c index b62d50d3..d3799895 100644 --- a/hacks/glx/atlantis.c +++ b/hacks/glx/atlantis.c @@ -375,10 +375,10 @@ clear_tank (atlantisstruct * ap) i = 0; while (i < size) { - pixels[i++] = 0; - pixels[i++] = (start + (i>>2)) * 0.56; - pixels[i++] = (start + (i>>2)); - pixels[i++] = 255; + pixels[i] = 0; i++; + pixels[i] = (start + (i>>2)) * 0.56; i++; + pixels[i] = (start + (i>>2)); i++; + pixels[i] = 255; i++; } clear_gl_error();