From d275bb8fb87d8dc23e9a62c5f82627e36c8dc589 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 15 Nov 2007 16:51:15 +1100 Subject: tests: update for new drm interface --- tests/mode/modetest.c | 4 ++-- 1 file 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"); -- cgit v1.2.3