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

Jeremy Huddleston jeremyhu at freedesktop.org
Fri Jul 29 11:28:48 PDT 2011


Was there ever an updated version of this patch?  This one seems to have bitrot.

On Jul 12, 2010, at 09:15, Keith Packard wrote:

> 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
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel



More information about the xorg-devel mailing list