]> git.zerfleddert.de Git - micropolis/commitdiff
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 4f4c10e1ea6cc697d141b78635c4048c881ba708..0d682094675b13e28de1152fccb63366e3eb0487 100644 (file)
@@ -1145,7 +1145,7 @@ DoResizeView(SimView *view, int w, int h)
          view->pixel_bytes = 2;
          view->depth = 15;
          bitmap_pad = 16;
          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;
          view->line_bytes8 =
            ((view->m_width * view->pixel_bytes) + 3) & (~3);
          break;
Impressum, Datenschutz