Opened 15 years ago

Closed 15 years ago

Last modified 9 months ago

#8326 closed patch

Some X11 backend fixes

Reported by: SF/gjasny Owned by: SF/khalek
Priority: normal Component: Ports
Keywords: Cc:



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.


Ticket imported from: #896094. Ticket imported from: patches/431.

Attachments (1)

scumm-x11-1.diff (2.1 KB) - added by SF/gjasny 15 years ago.
Patch No. 1

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by SF/gjasny

Attachment: scumm-x11-1.diff added

Patch No. 1

comment:1 Changed 15 years ago by SF/khalek

Owner: set to SF/khalek
Status: newclosed

comment:2 Changed 15 years ago by SF/khalek

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 Changed 9 months ago by digitall

Component: Ports
Note: See TracTickets for help on using tickets.