render/egl: only request high priority context on DRM

This commit is contained in:
emersion 2018-06-08 00:17:45 +01:00
parent d425edc96c
commit 457bfcab19
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 38 additions and 42 deletions

View file

@ -210,7 +210,7 @@ struct wlr_texture *wlr_gles2_texture_from_dmabuf(struct wlr_egl *egl,
return NULL;
}
if (!egl->egl_exts.dmabuf_import) {
if (!egl->exts.dmabuf_import) {
wlr_log(L_ERROR, "Cannot create DMA-BUF texture: EGL extension "
"unavailable");
return NULL;