diff options
| author | Manolo Gouy <Manolo> | 2015-03-16 15:17:49 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-03-16 15:17:49 +0000 |
| commit | 251a6e2fdb031c1a7a626887adfdd19c6111092f (patch) | |
| tree | 71fa41461a0fa020e0b770afb38ade667766a71c | |
| parent | a6c4b29a184ce7708819f4706877eedcd99a30f5 (diff) | |
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
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 8ca25201e..662e9e6b0 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -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; |
