Allow compilation when HAVE_XRENDER is undefined or 0
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
a6c4b29a18
commit
251a6e2fdb
@ -2234,6 +2234,7 @@ int Fl_X::ewmh_supported() {
|
||||
}
|
||||
|
||||
int Fl_X::xrender_supported() {
|
||||
#if HAVE_XRENDER
|
||||
static int result = -1;
|
||||
|
||||
if (result == -1) {
|
||||
@ -2244,6 +2245,9 @@ int Fl_X::xrender_supported() {
|
||||
}
|
||||
|
||||
return result;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
extern Fl_Window *fl_xfocus;
|
||||
|
Loading…
x
Reference in New Issue
Block a user