projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cdeff8
)
st/egl: Enable EGL_MESA_drm_display.
author
Chia-I Wu
<olv@lunarg.com>
Tue, 31 Aug 2010 07:52:26 +0000
(15:52 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Tue, 31 Aug 2010 07:52:33 +0000
(15:52 +0800)
src/gallium/state_trackers/egl/common/egl_g3d.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/egl/common/egl_g3d.c
b/src/gallium/state_trackers/egl/common/egl_g3d.c
index 2d04695f978fee1658a14dfa3522d4f9eb6b224c..4e653bdf3b26590c7dccdd6edc7fc221974d4e60 100644
(file)
--- 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)");