Commit 3cd630e8 authored by Luca Barbieri's avatar Luca Barbieri

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.
parent 67a411aa
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment