X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2FfpsI.h;h=decd6849d9adad34c4e994f4349a0caa1e96e994;hp=e656362b0abc4ee3341324c4ff4e61787d2a913a;hb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;hpb=ec8d2b32b63649e6d32bdfb306eda062769af823 diff --git a/hacks/fpsI.h b/hacks/fpsI.h index e656362b..decd6849 100644 --- a/hacks/fpsI.h +++ b/hacks/fpsI.h @@ -1,4 +1,4 @@ -/* fps, Copyright (c) 2001-2008 Jamie Zawinski +/* fps, Copyright (c) 2001-2012 Jamie Zawinski * Draw a frames-per-second display (Xlib and OpenGL). * * Permission to use, copy, modify, distribute, and sell this software and its @@ -20,10 +20,16 @@ struct fps_state { Window window; int x, y; XFontStruct *font; - unsigned long font_dlist; /* for glx/fps-gl.c */ Bool clear_p; char string[1024]; + /* for glx/fps-gl.c */ +# ifdef HAVE_GLBITMAP + unsigned long font_dlist; +# else + void *gl_fps_data; +# endif + GC draw_gc, erase_gc; int last_ifps;