diff options
author | Dave Airlie <airlied@redhat.com> | 2008-02-29 14:07:29 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-29 14:07:29 +1000 |
commit | 0e72819629741339af46d0e303f33482acdf0972 (patch) | |
tree | cf7528c9a70631b7bc60557aa0f09f7dfcc3f5e1 /tests/mode | |
parent | 01dcc47d895997f77c9457558e974d41c23ed4e1 (diff) |
drm: change fb api to take a bo handle not the bo pointer.
Diffstat (limited to 'tests/mode')
-rw-r--r-- | tests/mode/modetest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mode/modetest.c b/tests/mode/modetest.c index ab0cdc9c..a50b0cc5 100644 --- a/tests/mode/modetest.c +++ b/tests/mode/modetest.c @@ -291,7 +291,7 @@ int testFrameBufferAdd(int fd, drmModeResPtr res) goto err; printf("\tAdding FB\n"); - ret = drmModeAddFB(fd, 800, 600, 32, 8, 0, &bo, &fb); + ret = drmModeAddFB(fd, 800, 600, 32, 8, 0, bo->handle, &fb); if (ret) goto err_bo; |