[PATCH] kdrive/ephyr: Fix crash on 24bpp host framebuffer

Keith Packard keithp at keithp.com
Mon Jul 12 09:15:10 PDT 2010


On Mon, 12 Jul 2010 10:07:12 -0400, Adam Jackson <ajax at redhat.com> wrote:

> +  /* laaaaaame */
> +  if (screen->fb[0].depth == 24)
> +    if (priv->bytes_per_line < (screen->width * 4))
> +      screen->fb[0].bitsPerPixel = 24;

Please get this from the underlying XImage somehow...

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100712/491b953f/attachment.pgp>


More information about the xorg-devel mailing list