[PATCH xserver 1/3] ephyr: Don't clobber bitsPerPixel when using glamor
Adam Jackson
ajax at redhat.com
Fri Mar 17 17:47:11 UTC 2017
This ends up passing 0 as the bpp argument to fb screen setup, which is
not really the best plan.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
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 a9ea372..d5578de 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;
--
2.9.3
More information about the xorg-devel
mailing list