mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
egl/drm: fix EGL_EXT_buffer_age with gbm contexts
Fix remaining dri2 check from3d59f4cfcb, which caused gbm contexts to not expose EGL_EXT_buffer_age anymore. Fixes:3d59f4cfcb("egl/drm: Use IMAGE_DRIVER instead of DRI2_LOADER") Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24630>
This commit is contained in:
parent
ae81eb9d50
commit
c43135d740
1 changed files with 1 additions and 1 deletions
|
|
@ -674,7 +674,7 @@ dri2_initialize_drm(_EGLDisplay *disp)
|
|||
}
|
||||
|
||||
disp->Extensions.KHR_image_pixmap = EGL_TRUE;
|
||||
if (dri2_dpy->dri2)
|
||||
if (dri2_dpy->image_driver)
|
||||
disp->Extensions.EXT_buffer_age = EGL_TRUE;
|
||||
|
||||
#ifdef HAVE_WAYLAND_PLATFORM
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue