From c91e48149beda4538d47e5a3a3c393f7690d2aa4 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Mon, 16 Mar 2015 18:12:28 +0000 Subject: Add support for accelerated alpha blending under X11. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/x.H | 1 + 1 file changed, 1 insertion(+) (limited to 'FL/x.H') diff --git a/FL/x.H b/FL/x.H index f1f23f918..336acff9e 100644 --- a/FL/x.H +++ b/FL/x.H @@ -84,6 +84,7 @@ extern FL_EXPORT ulong fl_event_time; // off-screen pixmaps: create, destroy, draw into, copy to window: typedef ulong Fl_Offscreen; # define fl_create_offscreen(w,h) XCreatePixmap(fl_display, RootWindow(fl_display, fl_screen), w, h, fl_visual->depth) +# define fl_create_offscreen_with_alpha(w,h) XCreatePixmap(fl_display, RootWindow(fl_display, fl_screen), w, h, 32) // begin/end are macros that save the old state in local variables: # define fl_begin_offscreen(pixmap) \ Window _sw=fl_window; fl_window=pixmap; \ -- cgit v1.2.3