diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2018-12-13 22:32:27 -0600 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2019-02-02 16:56:56 -0800 |
commit | af63efe470417cde8a64068b1e6965b2677d92d9 (patch) | |
tree | 9c4499a793dbaf21eb1f34b0e3c0b4655dcc9573 | |
parent | 56547b196660e246e37132960723819972b99c8c (diff) |
Add 24-bit color support to exaGetPixmapFirstPixel
It appears that people who developed EXA forgot that there used to be
graphics devices that used 24-bits (3 bytes) instead of 32-bits (4 bytes)
in order to display one pixel. The lack of 24-bit color support inside
exaGetPixmapFirstPixel causes SiS 6326 to crash when running Xfce since
SiS 6326 does not support 32-bit color.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r-- | exa/exa_unaccel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index 73eada9c2..2d3e2ffe6 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -703,6 +703,7 @@ exaGetPixmapFirstPixel(PixmapPtr pPixmap) { switch (pPixmap->drawable.bitsPerPixel) { case 32: + case 24: { CARD32 pixel; |