vegastrike / Vega-Strike-Engine-Source

Vega Strike Engine
Other
260 stars 44 forks source link

SDL scaling should be implemented. #883

Open evertvorster opened 1 month ago

evertvorster commented 1 month ago

Right now, if you select a resolution that is less than your monitor's native resolution, and put it to full screen, the game displays with a black border that makes up the difference between the monitors native resolution and the requested game resolution.

I believe that SDL may have a function where it can scale the requested resolution to the monitor's native resolution. Would it be possible to implement this as a menu option? It would then be possible to pick a resolution that works well with the game UI, and simply scale it to match the native resolution of the requested monitor.

evertvorster commented 1 month ago

Here is a screenshot of SDL not scaling to the full screen when requested full screen mode: image