aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHal Gentz <[email protected]>2019-10-18 01:03:33 -0600
committerAdam Jackson <[email protected]>2019-10-18 18:41:51 +0000
commit99976939609ed4b19683aded00e55d91a9f9dd89 (patch)
tree9d9a735553a7d24f7f64a26dd737803cf3b1287a
parent4ef2c53755686a22563dc2be4592d53b1cc96dc7 (diff)
Revert "egl: Puts RGBA visuals in the second config selection group."
This reverts commit a800d16e4f1589e41e53edf8e8a771a33bb46a6a.
-rw-r--r--src/egl/drivers/dri2/platform_x11.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c
index b3ed7b943da..414d5f74c5d 100644
--- a/src/egl/drivers/dri2/platform_x11.c
+++ b/src/egl/drivers/dri2/platform_x11.c
@@ -831,17 +831,9 @@ dri2_x11_add_configs_for_visuals(struct dri2_egl_display *dri2_dpy,
dri2_conf = dri2_add_config(disp, config, config_count + 1,
surface_type, config_attrs,
rgba_shifts, rgba_sizes);
- if (dri2_conf) {
+ if (dri2_conf)
if (dri2_conf->base.ConfigID == config_count + 1)
config_count++;
-
- /* Put RGBA visuals in the second ConfigSelectGroup so that they
- * have lower priority. Applications probably don't want the
- * compositor to alpha-blend their windows.
- */
- if (d.data->depth != 24 && d.data->depth != 30)
- ++dri2_conf->base.ConfigSelectGroup;
- }
}
}