From: Michael Gernoth Date: Mon, 14 Jan 2008 22:10:44 +0000 (+0100) Subject: fix 15 bit mode X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/0ac8627d3110b429d57db91538cf1f07d6428e72 fix 15 bit mode --- diff --git a/src/sim/w_x.c b/src/sim/w_x.c index 4f4c10e..0d68209 100644 --- a/src/sim/w_x.c +++ b/src/sim/w_x.c @@ -1145,7 +1145,7 @@ DoResizeView(SimView *view, int w, int h) view->pixel_bytes = 2; view->depth = 15; bitmap_pad = 16; - bitmap_depth = 16; + bitmap_depth = 15; view->line_bytes8 = ((view->m_width * view->pixel_bytes) + 3) & (~3); break;