Skip to content

Fix problems when using -size from command line

Jesse Pavel requested to merge jpavel1/grafX2:fix-size-startup-option into master

Run grafx2 with -size 40x40 (the exact size isn't important, though smaller sizes make the problem more apparent) and notice:

  1. The main and spare pages show junk as their pixel data (hit Tab to cause a repait and see this junk on both the main and spare pages).
  2. The image limits dashed rectange is not displayed.

This patch fixes those issues.

Merge request reports

Loading