diff options
author | Sebastian Geerken <devnull@localhost> | 2013-11-18 20:16:42 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-11-18 20:16:42 +0100 |
commit | 9ec54d30159139ef7e66eefd24fbe601d7544b99 (patch) | |
tree | 6ae74cccd930cfef738cf162215b72c8eb852919 /dw/layout.cc | |
parent | a406f9d43bdc140fa7355be4e72aaef5081d7dd2 (diff) |
Optimized drawing of very small background images.
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index 8e1f065c..89361881 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -580,7 +580,7 @@ void Layout::draw (View *view, Rectangle *area) // First of all, draw background image. (Unlike background *color*, // this is not a feature of the views.) - if (bgImage != NULL && bgImage->getImgbuf() != NULL) + if (bgImage != NULL && bgImage->getImgbufSrc() != NULL) style::drawBackgroundImage (view, bgImage, bgRepeat, bgAttachment, bgPositionX, bgPositionY, area->x, area->y, area->width, |