summaryrefslogtreecommitdiff
path: root/src/fl_draw_pixmap.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-07-01 13:21:32 +0000
committerManolo Gouy <Manolo>2010-07-01 13:21:32 +0000
commit61eb9377c83d73c19e5561dc8561bb7d956e1ef9 (patch)
tree4edc6092899920b7f57d41c901555a47fdf73cf2 /src/fl_draw_pixmap.cxx
parent737816b18b7b4b0f8f7292fd0f9a6ba26fa28f48 (diff)
Renamed global variable from fl_device to fl_graphics_driver to better express its class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_draw_pixmap.cxx')
-rw-r--r--src/fl_draw_pixmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx
index e114e9b75..8ece16718 100644
--- a/src/fl_draw_pixmap.cxx
+++ b/src/fl_draw_pixmap.cxx
@@ -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_device->type() == Fl_Quartz_Graphics_Driver::device_type ) {
+ if (fl_graphics_driver->type() == Fl_Quartz_Graphics_Driver::device_type ) {
bool transparent = (transparent_index>=0);
transparent = true;
U32 *array = new U32[d.w * d.h], *q = array;