Fix Fl_Xlib_Graphics_Driver::delete_bitmask() : the pixmap argument is to be deleted by XFreePixmap().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
87f339249a
commit
00ebcd23aa
@ -616,7 +616,7 @@ Fl_Bitmask Fl_Xlib_Graphics_Driver::create_bitmask(int w, int h, const uchar *da
|
||||
}
|
||||
|
||||
void Fl_Xlib_Graphics_Driver::delete_bitmask(Fl_Bitmask bm) {
|
||||
fl_delete_offscreen((Fl_Offscreen)bm);
|
||||
XFreePixmap(fl_display, bm);
|
||||
}
|
||||
|
||||
void Fl_Xlib_Graphics_Driver::draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user