mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-15 11:27:35 +00:00
Fix for Raspberry Pi 1
This commit is contained in:
@@ -559,7 +559,7 @@ static bool open_window(int width, int height)
|
|||||||
|
|
||||||
// 1-bit mode is big-endian; if the X server is little-endian, we can't
|
// 1-bit mode is big-endian; if the X server is little-endian, we can't
|
||||||
// use SHM because that doesn't allow changing the image byte order
|
// use SHM because that doesn't allow changing the image byte order
|
||||||
bool need_msb_image = (depth == 1 && XImageByteOrder(x_display) == LSBFirst);
|
bool need_msb_image = (/*depth == 1 && */XImageByteOrder(x_display) == LSBFirst);
|
||||||
|
|
||||||
// Try to create and attach SHM image
|
// Try to create and attach SHM image
|
||||||
have_shm = false;
|
have_shm = false;
|
||||||
|
Reference in New Issue
Block a user