Opened 21 years ago

Closed 21 years ago

Last modified 6 years ago

#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)

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

Download all attachments as: .zip

Change History (4)

by SF/gjasny, 21 years ago

Attachment: scumm-x11-1.diff added

Patch No. 1

comment:1 by SF/khalek, 21 years ago

Owner: set to SF/khalek
Status: newclosed

comment:2 by SF/khalek, 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 digitall, 6 years ago

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