From 854c5ebd762975753e766793242da01d68347ad7 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Mon, 16 Mar 2015 18:16:27 +0000 Subject: Correct HAVE_XRENDER preprocessor checks. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Double_Window.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index f85af930b..54423514f 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -129,7 +129,7 @@ void Fl_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_Offscreen #if defined(USE_X11) -#ifdef HAVE_XRENDER +#if HAVE_XRENDER #include #endif @@ -139,7 +139,7 @@ void Fl_Xlib_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_Offs void Fl_Xlib_Graphics_Driver::copy_offscreen_with_alpha(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy) { -#ifdef HAVE_XRENDER +#if HAVE_XRENDER XRenderPictureAttributes srcattr; memset(&srcattr, 0, sizeof(XRenderPictureAttributes)); XRenderPictFormat *srcfmt = XRenderFindStandardFormat(fl_display, PictStandardARGB32); -- cgit v1.2.3