X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fxlockmore.h;h=3eeae7894254f674273c6f3d13b30c959a328f70;hp=5d2a1a1d5901a48466a2899fee9f87b0dcf9c142;hb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;hpb=ec8d2b32b63649e6d32bdfb306eda062769af823 diff --git a/hacks/xlockmore.h b/hacks/xlockmore.h index 5d2a1a1d..3eeae789 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-2011 Jamie Zawinski + * xscreensaver, Copyright (c) 1997-2012 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 @@ -29,19 +29,6 @@ ERROR! Sorry, xlockmore.h requires ANSI C (gcc, for example.) #include "screenhackI.h" #include "xlockmoreI.h" -#ifdef USE_GL - -# ifdef HAVE_COCOA -# include -# include -# else /* !HAVE_COCOA -- real Xlib */ -# include -# include -# endif /* !HAVE_COCOA */ - -# define FreeAllGL(dpy) /* */ -#endif /* USE_GL */ - # define ENTRYPOINT static /* Accessor macros for the ModeInfo structure @@ -102,6 +89,8 @@ ERROR! Sorry, xlockmore.h requires ANSI C (gcc, for example.) #define MI_CLEARWINDOW(mi) XClearWindow(MI_DISPLAY(mi), MI_WINDOW(mi)) +#define FreeAllGL(dpy) /* */ + /* Some other utility macros. */ #define SINF(n) ((float)sin((double)(n)))