Module: Mesa Branch: d3d1x-addons Commit: 3cd630e81fc3d861cfd55c86d0724ea2fced6b08 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cd630e81fc3d861cfd55c86d0724ea2fced6b08
Author: Luca Barbieri <l...@luca-barbieri.com> Date: Fri Sep 24 14:53:34 2010 +0200 egl_g3d: don't drop single-buffered configs 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. --- src/gallium/state_trackers/egl/x11/native_dri2.c | 4 ---- 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 1be1e42..1169e27 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit