diff options
| author | Manolo Gouy <Manolo> | 2016-10-30 19:56:27 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-10-30 19:56:27 +0000 |
| commit | 62046664c726f0f81a308c6edd9f32675c14ac95 (patch) | |
| tree | df42ce10314f5385acce2d4b2c3335689652dd33 /src | |
| parent | 3ae2b1d74e35a4ac0d80b35e3eaa23088ccffeb4 (diff) | |
Complete introduction of virtual Fl_RGB_Image *Fl_Image::as_rgb_image() begun at r.12061
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Shared_Image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx index f94d28f11..f5d88ceb4 100644 --- a/src/Fl_Shared_Image.cxx +++ b/src/Fl_Shared_Image.cxx @@ -378,7 +378,7 @@ void Fl_Graphics_Driver::draw(Fl_Shared_Image *shared, int X, int Y) { return; } // don't call Fl_Graphics_Driver::draw_scaled(Fl_Image*,...) for an enlarged Fl_Bitmap or Fl_Pixmap - if (shared->as_rgb_image() || (shared->w() <= shared->image_->w() && shared->h() <= shared->image_->h())) { + if (shared->image_->as_rgb_image() || (shared->w() <= shared->image_->w() && shared->h() <= shared->image_->h())) { int done = fl_graphics_driver->draw_scaled(shared->image_, X, Y, shared->w(), shared->h()); if (done) return; } |
