From 3fbbd70e80033566f5d7015fa2110a9d355bcfa4 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 31 Aug 2010 15:52:26 +0800 Subject: [PATCH] st/egl: Enable EGL_MESA_drm_display. --- src/gallium/state_trackers/egl/common/egl_g3d.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c index 2d04695f978..4e653bdf3b2 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d.c @@ -537,8 +537,10 @@ egl_g3d_initialize(_EGLDriver *drv, _EGLDisplay *dpy, dpy->Extensions.KHR_surfaceless_gles2 = EGL_TRUE; dpy->Extensions.KHR_surfaceless_opengl = EGL_TRUE; - if (dpy->Platform == _EGL_PLATFORM_DRM) + if (dpy->Platform == _EGL_PLATFORM_DRM) { + dpy->Extensions.MESA_drm_display = EGL_TRUE; dpy->Extensions.MESA_drm_image = EGL_TRUE; + } if (egl_g3d_add_configs(drv, dpy, 1) == 1) { _eglError(EGL_NOT_INITIALIZED, "eglInitialize(unable to add configs)"); -- 2.30.2