Commit | Line | Data |
---|---|---|
3144ee8a AT |
1 | /* xscreensaver, Copyright (c) 1998, 1999 by Jamie Zawinski <jwz@jwz.org> |
2 | * | |
3 | * Permission to use, copy, modify, distribute, and sell this software and its | |
4 | * documentation for any purpose is hereby granted without fee, provided that | |
5 | * the above copyright notice appear in all copies and that both that | |
6 | * copyright notice and this permission notice appear in supporting | |
7 | * documentation. No representations are made about the suitability of this | |
8 | * software for any purpose. It is provided "as is" without express or | |
9 | * implied warranty. | |
10 | */ | |
11 | ||
12 | /* The XDBE (Double Buffering) extension is pretty tricky to use, since you | |
13 | can get X errors at inconvenient times during initialization. This file | |
14 | contains a utility routine to make it easier to deal with. | |
15 | */ | |
16 | ||
17 | #ifndef __XSCREENSAVER_XDBE_H__ | |
18 | ||
19 | #ifdef HAVE_DOUBLE_BUFFER_EXTENSION | |
20 | ||
21 | # include <X11/extensions/Xdbe.h> | |
22 | ||
23 | extern XdbeBackBuffer xdbe_get_backbuffer (Display *, Window, XdbeSwapAction); | |
24 | ||
25 | #endif /* HAVE_DOUBLE_BUFFER_EXTENSION */ | |
26 | ||
27 | #endif /* __XSCREENSAVER_XDBE_H__ */ |