summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-21 08:58:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-02 08:32:11 +0100
commit975b9798be77b30cbed485583d0ccb48318708f7 (patch)
treebf261f2cabeebff54c92a24f2ed751e8c2e9c9d5 /test
parentd8eb87f84f88ad2df42c6fed1d93df76589a14e3 (diff)
sna: Add support for Present
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/dri3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dri3.c b/test/dri3.c
index b5eb4baf..45f3285c 100644
--- a/test/dri3.c
+++ b/test/dri3.c
@@ -43,7 +43,7 @@ Pixmap dri3_create_pixmap(Display *dpy,
xcb_dri3_pixmap_from_buffer(c, pixmap, draw, size, width, height, stride, depth, bpp, fd);
return pixmap;
}
- return NullPixmap;
+ return 0;
}
int dri3_create_fd(Display *dpy,