aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-11-18 20:16:42 +0100
committerSebastian Geerken <devnull@localhost>2013-11-18 20:16:42 +0100
commit9ec54d30159139ef7e66eefd24fbe601d7544b99 (patch)
tree6ae74cccd930cfef738cf162215b72c8eb852919 /test
parenta406f9d43bdc140fa7355be4e72aaef5081d7dd2 (diff)
Optimized drawing of very small background images.
Diffstat (limited to 'test')
-rw-r--r--test/dw_image_background.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_image_background.cc b/test/dw_image_background.cc
index ad50924d..24966850 100644
--- a/test/dw_image_background.cc
+++ b/test/dw_image_background.cc
@@ -71,8 +71,8 @@ static void imageInitTimeout (void *data)
static void imageDrawTimeout (void *data)
{
- Imgbuf *imgbuf1 = image1 ? image1->getImgbuf () : NULL;
- Imgbuf *imgbuf2 = image2 ? image2->getImgbuf () : NULL;
+ Imgbuf *imgbuf1 = image1 ? image1->getImgbufSrc () : NULL;
+ Imgbuf *imgbuf2 = image2 ? image2->getImgbufSrc () : NULL;
if (imgbuf1 && imgRow1 < 200) {
byte buf[3 * 400];