Commit 83c4297d authored by Adam Jackson's avatar Adam Jackson 🎧

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's avatarEric Anholt <>
Signed-off-by: Adam Jackson's avatarAdam Jackson <>
parent fe0b2974
......@@ -927,7 +927,6 @@ hostx_screen_init(KdScreenInfo *screen,
#ifdef GLAMOR
if (ephyr_glamor) {
*bytes_per_line = 0;
*bits_per_pixel = 0;
scrpriv->win_width, scrpriv->win_height);
return NULL;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment