Revert "egl: Configs w/o double buffering support have no `EGL_WINDOW_BIT`."
[mesa.git] / src / egl / drivers / dri2 / platform_android.c
index e395bb27cb21147540de8e2003d81e0da22b69f2..35d40e567dc652e684d82d0369361ab64cfb1e6b 100644 (file)
@@ -1225,8 +1225,6 @@ droid_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *disp)
          has_rgba = true;
    }
 
-   dri2_finalize_config_surface_types(disp);
-
    for (int i = 0; i < ARRAY_SIZE(format_count); i++) {
       if (!format_count[i]) {
          _eglLog(_EGL_DEBUG, "No DRI config supports native format 0x%x",