aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2023-02-18 11:49:51 -0500
committerSimon Zeni <simon@bl4ckb0ne.ca>2023-02-18 11:49:51 -0500
commit782b5e65655d3b8d1ecdd31c57dea342a6a0c0e0 (patch)
treeb720f0ebbea89f8193363d0a47010604823fe6c0 /render
parent58067a20844d23527c29b4382a2b182c6590317e (diff)
Revert "render/egl: skip incompatible EGL devices"
Reverts commit c73e20628ad3cf8a38fc1cebd061a49da8708394. This caused a regression in the GLES2 renderer because `egl->exts.EXT_device_drm` is set in `egl_init_display()`, which is invoked after `get_egl_device_from_drm_fd()`. So the function will always return `EGL_NO_DEVICE_EXT`.
Diffstat (limited to 'render')
-rw-r--r--render/egl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/render/egl.c b/render/egl.c
index cbee32d6..70596c75 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -446,11 +446,6 @@ static EGLDeviceEXT get_egl_device_from_drm_fd(struct wlr_egl *egl,
return EGL_NO_DEVICE_EXT;
}
- if (!egl->exts.EXT_device_drm) {
- wlr_log(WLR_DEBUG, "EGL_EXT_device_drm not supported");
- return EGL_NO_DEVICE_EXT;
- }
-
EGLint nb_devices = 0;
if (!egl->procs.eglQueryDevicesEXT(0, NULL, &nb_devices)) {
wlr_log(WLR_ERROR, "Failed to query EGL devices");