mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-02 02:48:01 +02:00
tests: update for new drm interface
This commit is contained in:
parent
f0fe478c15
commit
d275bb8fb8
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue