diff options
author | Chia-I Wu <[email protected]> | 2010-08-31 15:52:26 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-08-31 15:52:33 +0800 |
commit | 3fbbd70e80033566f5d7015fa2110a9d355bcfa4 (patch) | |
tree | dfad2ffef351b382f3faaea3e096996d3bc722f7 /src | |
parent | 8cdeff8444db999a02a27ecab59d9374cb076437 (diff) |
st/egl: Enable EGL_MESA_drm_display.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/egl/common/egl_g3d.c | 4 |
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 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)"); |