fix 15 bit mode
authorMichael Gernoth <michael@gernoth.net>
Mon, 14 Jan 2008 22:10:44 +0000 (23:10 +0100)
committerMichael Gernoth <michael@gernoth.net>
Mon, 14 Jan 2008 22:10:44 +0000 (23:10 +0100)
src/sim/w_x.c

index 4f4c10e..0d68209 100644 (file)
@@ -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;
Impressum, Datenschutz