From 4f3631eae4a3c06a98e48684ec12b29a40c6d064 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 1 Jun 2024 10:14:04 +0200 Subject: [PATCH] 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: --- cogl/cogl/cogl-xlib-renderer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cogl/cogl/cogl-xlib-renderer.c b/cogl/cogl/cogl-xlib-renderer.c index 0d8f5478e..c88898a00 100644 --- a/cogl/cogl/cogl-xlib-renderer.c +++ b/cogl/cogl/cogl-xlib-renderer.c @@ -261,8 +261,6 @@ update_outputs (CoglRenderer *renderer, break; } - output->subpixel_order = COGL_SUBPIXEL_ORDER_HORIZONTAL_RGB; - /* Handle the effect of rotation and reflection on subpixel order (ugh) */ for (j = 0; j < 6; j++) {