mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-25 21:59:11 +01:00
test: make mock drmModeAtomicAddProperty return cursor
For consistency with the original libdrm function.
This commit is contained in:
parent
e09ebdac27
commit
333e454e98
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ int drmModeAtomicAddProperty(drmModeAtomicReq *req, uint32_t obj_id,
|
|||
req->props[req->cursor].prop_id = prop_id;
|
||||
req->props[req->cursor].value = value;
|
||||
req->cursor++;
|
||||
return 0;
|
||||
return req->cursor;
|
||||
}
|
||||
|
||||
int drmModeAtomicGetCursor(drmModeAtomicReq *req)
|
||||
|
|
Loading…
Reference in a new issue