From 9ec54d30159139ef7e66eefd24fbe601d7544b99 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 18 Nov 2013 20:16:42 +0100 Subject: Optimized drawing of very small background images. --- dw/layout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dw/layout.cc') 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, -- cgit v1.2.3