Revert "egl: Configs w/o double buffering support have no `EGL_WINDOW_BIT`."
[mesa.git] / src / egl / drivers / dri2 / platform_device.c
index b36033ba5041dc0494cb45e52a683ca6d4e66ce6..9bd7a93270de144324f194f2624a09e85686bcef 100644 (file)
@@ -216,8 +216,6 @@ device_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *disp)
       }
    }
 
-   dri2_finalize_config_surface_types(disp);
-
    for (unsigned i = 0; i < ARRAY_SIZE(format_count); i++) {
       if (!format_count[i]) {
          _eglLog(_EGL_DEBUG, "No DRI config supports native format %s",