mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-01 16:55:59 +01:00
Merge pull request #818 from agx/dmabuf-error
egl: silence dmabuf error when extension is not present
This commit is contained in:
commit
5fea9f1dd6
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