From http://www.jwz.org/xscreensaver/xscreensaver-5.15.tar.gz
[xscreensaver] / hacks / glx / fps-gl.c
index 7680d878e8aa41fb2495d523db4edd6c91dda288..67031a6fe162de45bb3626e81670515d71a0f475 100644 (file)
@@ -1,4 +1,4 @@
-/* fps, Copyright (c) 2001-2009 Jamie Zawinski <jwz@jwz.org>
+/* fps, Copyright (c) 2001-2011 Jamie Zawinski <jwz@jwz.org>
  * Draw a frames-per-second display (Xlib and OpenGL).
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -64,7 +64,7 @@ xlockmore_gl_compute_fps (Display *dpy, Window w, fps_state *fpst,
       xlockmore_gl_fps_init (fpst);
     }
 
-  fps_compute (fpst, mi->polygon_count);
+  fps_compute (fpst, mi->polygon_count, mi->recursion_depth);
 }