summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-31 15:52:26 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-31 15:52:33 +0800
commit3fbbd70e80033566f5d7015fa2110a9d355bcfa4 (patch)
treedfad2ffef351b382f3faaea3e096996d3bc722f7 /src/gallium/state_trackers/egl
parent8cdeff8444db999a02a27ecab59d9374cb076437 (diff)
st/egl: Enable EGL_MESA_drm_display.
Diffstat (limited to 'src/gallium/state_trackers/egl')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c
index 2d04695f97..4e653bdf3b 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)");