Fix for Raspberry Pi 1

This commit is contained in:
kanjitalk755 2023-01-12 21:04:23 +09:00
parent 0365386fa1
commit 92c4c72000
1 changed files with 1 additions and 1 deletions

View File

@ -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
// 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
have_shm = false;