diff options
author | corvid <corvid@lavabit.com> | 2010-04-28 16:57:27 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2010-04-28 16:57:27 +0000 |
commit | cb1fa27648c91dcbcfe0cfb86e2bf379e98f1463 (patch) | |
tree | 57611ea5919c173460aa3d154019a0383aae757e | |
parent | b1da3ec24f877d1273a791f3635365420cf7f5e4 (diff) |
fix dw simple image test
-rw-r--r-- | test/dw_images_simple.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dw_images_simple.cc b/test/dw_images_simple.cc index cd510160..39b7ed90 100644 --- a/test/dw_images_simple.cc +++ b/test/dw_images_simple.cc @@ -40,9 +40,10 @@ static int imgRow = 0; 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); } /* |