summaryrefslogtreecommitdiff
path: root/tests/modedemo
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-02-29 14:07:29 +1000
committerDave Airlie <airlied@redhat.com>2008-02-29 14:07:29 +1000
commit0e72819629741339af46d0e303f33482acdf0972 (patch)
treecf7528c9a70631b7bc60557aa0f09f7dfcc3f5e1 /tests/modedemo
parent01dcc47d895997f77c9457558e974d41c23ed4e1 (diff)
drm: change fb api to take a bo handle not the bo pointer.
Diffstat (limited to 'tests/modedemo')
-rw-r--r--tests/modedemo/demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modedemo/demo.c b/tests/modedemo/demo.c
index db51cd66..00020bde 100644
--- a/tests/modedemo/demo.c
+++ b/tests/modedemo/demo.c
@@ -483,7 +483,7 @@ drmModeFBPtr createFB(int fd, drmModeResPtr res)
goto err;
}
- ret = drmModeAddFB(fd, SIZE_X, SIZE_Y, 32, 32, PITCH * 4, &bo, &fb);
+ ret = drmModeAddFB(fd, SIZE_X, SIZE_Y, 32, 32, PITCH * 4, bo->handle, &fb);
if (ret)
goto err_bo;