mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
egl: silence dmabuf error when extension is not present
This makes it match 4bf936360d
.
This commit is contained in:
parent
94d76ee485
commit
6a05bd3886
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ int wlr_egl_get_dmabuf_modifiers(struct wlr_egl *egl,
|
||||||
int format, uint64_t **modifiers) {
|
int format, uint64_t **modifiers) {
|
||||||
if (!egl->egl_exts.dmabuf_import ||
|
if (!egl->egl_exts.dmabuf_import ||
|
||||||
!egl->egl_exts.dmabuf_import_modifiers) {
|
!egl->egl_exts.dmabuf_import_modifiers) {
|
||||||
wlr_log(L_ERROR, "dmabuf extension not present");
|
wlr_log(L_DEBUG, "dmabuf extension not present");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue