summaryrefslogtreecommitdiff
path: root/test/dri2-omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dri2-omap.c')
-rw-r--r--test/dri2-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dri2-omap.c b/test/dri2-omap.c
index 181599d..2bcff28 100644
--- a/test/dri2-omap.c
+++ b/test/dri2-omap.c
@@ -48,7 +48,7 @@ static void setup(int fd)
static void * init(DRI2Buffer *dri2buf)
{
- return omap_bo_from_name(dev, dri2buf->name);
+ return omap_bo_from_name(dev, dri2buf->names[0]);
}
static char * prep(void *hdl)