diff options
author | Dave Airlie <airlied@linux.ie> | 2007-11-15 16:51:15 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-11-15 16:51:15 +1100 |
commit | d275bb8fb87d8dc23e9a62c5f82627e36c8dc589 (patch) | |
tree | cc697ffdf53542038b4e90746774209b9818efed /tests/mode | |
parent | f0fe478c1587780690edc465d957a762e02acc8a (diff) |
tests: update for new drm interface
Diffstat (limited to 'tests/mode')
-rw-r--r-- | tests/mode/modetest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mode/modetest.c b/tests/mode/modetest.c index bf1a5169..8f151758 100644 --- a/tests/mode/modetest.c +++ b/tests/mode/modetest.c @@ -288,12 +288,12 @@ int testFrameBufferAdd(int fd, drmModeResPtr res) printf("\tRemoveing BO\n"); - ret = drmBODestroy(fb, &bo); + ret = drmBOUnreference(fb, &bo); return 0; err_bo: - drmBODestroy(fd, &bo); + drmBOUnreference(fd, &bo); err: printf("\tFailed\n"); |