/* xlockmore.h --- xscreensaver compatibility layer for xlockmore modules.
- * xscreensaver, Copyright (c) 1997, 1998 Jamie Zawinski <jwz@jwz.org>
+ * xscreensaver, Copyright (c) 1997, 1998, 2001 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
extern GLXContext *init_GL (ModeInfo *);
extern void clear_gl_error (void);
extern void check_gl_error (const char *type);
+ extern void do_fps (ModeInfo *);
# define FreeAllGL(dpy) /* */
-#endif
+#endif /* !USE_GL */
/* Accessor macros for the ModeInfo structure
*/
# define HACK_FREE 0
#endif
+#ifdef HACK_RESHAPE
+ extern void HACK_RESHAPE(ModeInfo *, int width, int height);
+#else
+# define HACK_RESHAPE 0
+#endif
+
/* Emit code for the entrypoint used by screenhack.c, and pass control
down into xlockmore.c with the appropriate parameters.
HACK_INIT,
HACK_DRAW,
+ HACK_RESHAPE,
HACK_FREE);
}