Instead of using a configured resolution value try and query the desktop resolution and start the game using that resolution and full-screen mode. It should be possible to over-ride this behavior in the configuration file. Perhaps a resolution="auto" could mean use the desktop resolution and ignore the configured width and height and resolution="manual" to use the configured values.
A later version of SDL may provide a cross-platform way to query the system for the desktop resolution.
Log in to post a comment.