http://ftp.x.org/contrib/applications/xscreensaver-3.21.tar.gz
[xscreensaver] / hacks / glx / glplanet.c
index 39ae21bb05cb8e23f709b83e00250790afc6655a..d20bb409ca8eba6f251b3c4e5aa5f5a715ecb366 100644 (file)
@@ -424,8 +424,8 @@ void generate_stars(int width, int height)
        {
 /*       size = (drand48()+size_range[0]) * size_range[1]/2.; */
 /*    glPointSize(size); */
-         x = drand48()*width;
-         y = drand48()*height;
+         x = random()*width;
+         y = random()*height;
          glVertex2f(x,y);
        }
   glEnd();