mirror of
https://github.com/fltk/fltk.git
synced 2026-03-23 23:48:52 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user