-/* xscreensaver, Copyright (c) 1999, 2001 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1999, 2001, 2002 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
while (1)
{
- if (!backb || !dbeclear_p)
+ if (!dbeclear_p
+#ifdef HAVE_DOUBLE_BUFFER_EXTENSION
+ || !backb
+#endif /* HAVE_DOUBLE_BUFFER_EXTENSION */
+ )
XFillRectangle (dpy, b, erase_gc, 0, 0, xgwa.width, xgwa.height);
for (i = 0; i < count; i++)