X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/6a5fa4e03967ab980cdc7ef96a42400bc29b4414..37a7c2a1f0832626f3a41e3cbf2f754f6d109b04:/src/sim/w_x.c diff --git a/src/sim/w_x.c b/src/sim/w_x.c index a6472a0..a00d551 100644 --- a/src/sim/w_x.c +++ b/src/sim/w_x.c @@ -441,7 +441,9 @@ FindXDisplay(Tk_Window tkwin) } else { fprintf(stderr, "Cool, I found the shared memory extension!\n"); - xd->shared = 1; + fprintf(stderr, + "Disabled SHM, because it is currently broken!\n"); + xd->shared = 0; } } } @@ -1156,7 +1158,7 @@ DoResizeView(SimView *view, int w, int h) view->pixel_bytes = 4; //view->pixel_bytes = 3; view->depth = 24; - bitmap_depth = 32; + bitmap_depth = 24; bitmap_pad = 32; view->line_bytes8 = ((view->m_width * 4) + 3) & (~3);