mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/drm_syncobj: fix return type mismatch
This commit is contained in:
parent
aef4de2ced
commit
f36f856cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ bool wlr_drm_syncobj_timeline_import_sync_file(struct wlr_drm_syncobj_timeline *
|
|||
uint32_t syncobj_handle;
|
||||
if (drmSyncobjCreate(timeline->drm_fd, 0, &syncobj_handle) != 0) {
|
||||
wlr_log_errno(WLR_ERROR, "drmSyncobjCreate failed");
|
||||
return -1;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (drmSyncobjImportSyncFile(timeline->drm_fd, syncobj_handle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue