FosterFramework / Foster

A small C# game framework
MIT License
422 stars 37 forks source link

Get Display Size to determine if Window can fit #54

Closed NoelFB closed 6 months ago

NoelFB commented 6 months ago

Without knowing the Display Size there's no way to tell if you're requesting a Window size that is too big for the display. For example, setting the Window to 1920x1080 on a display of the same size can make the window handle to basically be unusable.