summaryrefslogtreecommitdiff
path: root/test/test_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-12-02 10:43:51 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-12-02 17:11:06 +0000
commit49af22ee5533b1afbf30f50fcfd7245f1c8d98bc (patch)
treefeffaa9416d81a129c15459603ab0a4e224643fb /test/test_render.c
parent3dae8b97151f1d08942ec690dac5a5008901d7d0 (diff)
tests: Exercise tiled fills
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test/test_render.c')
-rw-r--r--test/test_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_render.c b/test/test_render.c
index 67889acc..926e930d 100644
--- a/test/test_render.c
+++ b/test/test_render.c
@@ -31,6 +31,7 @@ void test_target_create_render(struct test_display *dpy,
tt->format = dpy->format;
tt->width = dpy->width;
tt->height = dpy->height;
+ tt->depth = dpy->depth;
switch (target) {
case ROOT:
@@ -56,6 +57,7 @@ void test_target_create_render(struct test_display *dpy,
tt->draw = XCreatePixmap(dpy->dpy, tt->draw,
dpy->width, dpy->height,
tt->format->depth);
+ tt->depth = 32;
break;
}