changeset 1670:8bace2ec6321

fix dw simple image test
author corvid <corvid@lavabit.com>
date Wed, 28 Apr 2010 16:57:27 +0000
parents 92ce2288042a
children 7fe586a2c260
files test/dw_images_simple.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/dw_images_simple.cc	Tue Apr 27 18:39:49 2010 +0000
+++ b/test/dw_images_simple.cc	Wed Apr 28 16:57:27 2010 +0000
@@ -40,9 +40,10 @@
 
 static void imageInitTimeout (void *data)
 {
+   const bool resize = true;
    //imgbuf = layout->createImgbuf (Imgbuf::RGBA, 400, 200);
    imgbuf = layout->createImgbuf (Imgbuf::RGB, 400, 200);
-   image->setBuffer (imgbuf);
+   image->setBuffer (imgbuf, resize);
 }
 
 /*