summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-09-24 14:53:34 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-09-24 15:10:05 +0200
commit3cd630e81fc3d861cfd55c86d0724ea2fced6b08 (patch)
tree3b07b0a422038580bdd39b0ad7d8a0a763f9ca91
parent67a411aa76a197e03cb068551546b6b610ef78a9 (diff)
egl_g3d: don't drop single-buffered configsd3d1x-addons
This is needed to be able to use EGL on any existing X window, and seems a good idea in general, Rejecting single-buffered configs should be done in EGL itself if necessary, and not in the native API.
-rw-r--r--src/gallium/state_trackers/egl/x11/native_dri2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/egl/x11/native_dri2.c b/src/gallium/state_trackers/egl/x11/native_dri2.c
index 1be1e42468c..1169e273c34 100644
--- a/src/gallium/state_trackers/egl/x11/native_dri2.c
+++ b/src/gallium/state_trackers/egl/x11/native_dri2.c
@@ -518,10 +518,6 @@ dri2_display_convert_config(struct native_display *ndpy,
if (!(mode->renderType & GLX_RGBA_BIT) || !mode->rgbMode)
return FALSE;
- /* skip single-buffered configs */
- if (!mode->doubleBufferMode)
- return FALSE;
-
/* only interested in native renderable configs */
if (!mode->xRenderable || !mode->drawableType)
return FALSE;