mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05: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…
Add table
Add a link
Reference in a new issue