X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fxlockmore.h;h=abb24818cc46c95135ef8d5baf799eca565107a1;hb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;hp=27b5959414f740eb92a29cbf551833eb88e46a88;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/xlockmore.h b/hacks/xlockmore.h index 27b59594..abb24818 100644 --- a/hacks/xlockmore.h +++ b/hacks/xlockmore.h @@ -1,5 +1,5 @@ /* xlockmore.h --- xscreensaver compatibility layer for xlockmore modules. - * xscreensaver, Copyright (c) 1997-2006 Jamie Zawinski + * xscreensaver, Copyright (c) 1997-2008 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -139,6 +139,10 @@ ERROR! Sorry, xlockmore.h requires ANSI C (gcc, for example.) # define xlockmore_validate_gl_visual 0 # endif /* !USE_GL || HAVE_COCOA */ +# ifndef USE_GL +# define xlockmore_gl_compute_fps 0 +# endif /* !USE_GL */ + #ifdef WRITABLE_COLORS # undef WRITABLE_COLORS # define WRITABLE_COLORS 1 @@ -193,6 +197,7 @@ ERROR! Sorry, xlockmore.h requires ANSI C (gcc, for example.) xlockmore_setup, \ & NAME ## _xlockmore_function_table, \ 0, 0, 0, 0, 0, \ + xlockmore_gl_compute_fps, \ xlockmore_pick_gl_visual, \ xlockmore_validate_gl_visual }; \ \