From 83c4297d2c4fd501a9d36bc0cb7d357a8d22394c Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 17 Mar 2017 12:40:03 -0400 Subject: [PATCH] ephyr: Don't clobber bitsPerPixel when using glamor This ends up passing 0 as the bpp argument to fb screen setup, which is not really the best plan. Reviewed-by: Eric Anholt Signed-off-by: Adam Jackson --- hw/kdrive/ephyr/hostx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c index a9ea3726d..d5578deaa 100644 --- a/hw/kdrive/ephyr/hostx.c +++ b/hw/kdrive/ephyr/hostx.c @@ -927,7 +927,6 @@ hostx_screen_init(KdScreenInfo *screen, #ifdef GLAMOR if (ephyr_glamor) { *bytes_per_line = 0; - *bits_per_pixel = 0; ephyr_glamor_set_window_size(scrpriv->glamor, scrpriv->win_width, scrpriv->win_height); return NULL;