From 0ac8627d3110b429d57db91538cf1f07d6428e72 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 14 Jan 2008 23:10:44 +0100 Subject: [PATCH] fix 15 bit mode --- src/sim/w_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5