aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-10 16:14:35 -0600
committerBrian Paul <[email protected]>2008-06-10 16:14:35 -0600
commite9b6ed395a69be90cbf1e2481a9da6fa4079e88e (patch)
tree98e3232dc982e01078fc6c8ad9b615c0f8c2772a /src/egl/drivers
parentb9c5b0bc4b0abbe12770824371c173ad1e8d1046 (diff)
egl: only windows are renderable at this time
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/xdri/egl_xdri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/drivers/xdri/egl_xdri.c b/src/egl/drivers/xdri/egl_xdri.c
index 4c8511fbbfe..60753a1c1f4 100644
--- a/src/egl/drivers/xdri/egl_xdri.c
+++ b/src/egl/drivers/xdri/egl_xdri.c
@@ -183,6 +183,9 @@ create_configs(_EGLDisplay *disp)
SET_CONFIG_ATTRIB(&config->Base, EGL_STENCIL_SIZE, m->stencilBits);
SET_CONFIG_ATTRIB(&config->Base, EGL_NATIVE_VISUAL_ID, m->visualID);
SET_CONFIG_ATTRIB(&config->Base, EGL_NATIVE_VISUAL_TYPE, m->visualType);
+ /* XXX only window rendering allowed ATM */
+ SET_CONFIG_ATTRIB(&config->Base, EGL_SURFACE_TYPE, EGL_WINDOW_BIT);
+
/* XXX possibly other things to init... */
/* Ptr from EGL config to GLcontextMode. Used in CreateContext(). */