1
0
Fork 0

cogl/xlib-renderer: Don't override subpixel order

This function goes to great lengths to convert an Xlib SubpixelFormat
enum into a CoglSubpixelFormat, then immediately discards that.

Fixes 88d8bd84f2

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3792>
This commit is contained in:
Georges Basile Stavracas Neto 2024-06-01 10:14:04 +02:00 committed by Marge Bot
parent 2a9576c59c
commit 4f3631eae4

View file

@ -261,8 +261,6 @@ update_outputs (CoglRenderer *renderer,
break; break;
} }
output->subpixel_order = COGL_SUBPIXEL_ORDER_HORIZONTAL_RGB;
/* Handle the effect of rotation and reflection on subpixel order (ugh) */ /* Handle the effect of rotation and reflection on subpixel order (ugh) */
for (j = 0; j < 6; j++) for (j = 0; j < 6; j++)
{ {