diff options
| author | Manolo Gouy <Manolo> | 2017-08-25 17:42:46 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-08-25 17:42:46 +0000 |
| commit | 86e60e906893a485952e20e04ef429082f99be80 (patch) | |
| tree | f931d219fcccb272e923efd1ecf615604851d62e /src/Fl_Graphics_Driver.cxx | |
| parent | 9eeac9c73777e0ffb1c7b5703d1c05fca1d703f0 (diff) | |
X11 and WIN32: slightly change Fl_XXX_Graphics_Driver::cache(Fl_Pixmap*) to use the Fl_Image_Surface object.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Graphics_Driver.cxx')
| -rw-r--r-- | src/Fl_Graphics_Driver.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 288545553..f5da1b4a8 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -289,9 +289,7 @@ void Fl_Scalable_Graphics_Driver::draw(Fl_Pixmap *pxm, int XP, int YP, int WP, i int w2=pxm->w(), h2=pxm->h(); cache_size(pxm, w2, h2); Fl_Pixmap *pxm2 = (Fl_Pixmap*)pxm->copy(w2, h2); - float s = scale_; scale_ = 1; *id(pxm) = cache(pxm2, pxm2->w(), pxm2->h(), pxm2->data()); - scale_ = s; *cache_scale(pxm) = scale_; *mask(pxm) = *mask(pxm2); *mask(pxm2) = 0; |
