Replaced 'fl_surface->driver()' by the shorter 'fl_device'

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2010-06-17 22:08:09 +00:00
parent 8c02ae87cb
commit 4da4ef0b67

View File

@ -341,7 +341,7 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) {
#endif
#ifdef __APPLE_QUARTZ__
if (fl_surface->driver()->type() == Fl_Quartz_Graphics_Driver::device_type ) {
if (fl_device->type() == Fl_Quartz_Graphics_Driver::device_type ) {
bool transparent = (transparent_index>=0);
transparent = true;
U32 *array = new U32[d.w * d.h], *q = array;