Revert "egl: Configs w/o double buffering support have no `EGL_WINDOW_BIT`."
[mesa.git] / src / egl / drivers / dri2 / platform_x11.c
index 45c06ae04b3b16a7826e637b980ff058764ddc9b..b3ed7b943da14c5cca1607db6aee09014e31ef89 100644 (file)
@@ -848,8 +848,6 @@ dri2_x11_add_configs_for_visuals(struct dri2_egl_display *dri2_dpy,
       xcb_depth_next(&d);
    }
 
-   dri2_finalize_config_surface_types(disp);
-
    if (!config_count) {
       _eglLog(_EGL_WARNING, "DRI2: failed to create any config");
       return EGL_FALSE;