#8326 closed patch
Some X11 backend fixes
Reported by: | SF/gjasny | Owned by: | SF/khalek |
---|---|---|---|
Priority: | normal | Component: | Ports |
Version: | Keywords: | ||
Cc: | Game: |
Description
Hi,
At first #include "common/stdafx.h" was added to compile at all.
Because the closed source ATI driver doesn't support 16bpp I run my X11 with 24 bit. After starting the backend I got a X11 er ror. I tracked this down to XShmCreateImage which was hardwired to 16bpp. Also shmget allocated the wrong amount of memory. I changed it acording to Keith Packards xspec paper. Additionally I added a check for SHM at all plus some more error checkings.
Cheers, -Gregor
Ticket imported from: #896094. Ticket imported from: patches/431.
Attachments (1)
Change History (4)
by , 21 years ago
Attachment: | scumm-x11-1.diff added |
---|
comment:1 by , 21 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:2 by , 21 years ago
thanks, the X11 backend obviously isn't in wide use and was originally done for running on ipaqs. I would be nice to have it do multiple bitdepth but I don't feel like learning xlib anytime soon :)
comment:3 by , 6 years ago
Component: | → Ports |
---|
Patch No. 1