Windows 10 scaling issues

I have an issue regarding unwanted scaling on Windows. When I run a full-screen build of my game on a HiDPI machine (which has OS-wide scaling set to >100%), the OS either clips off part of the game or displays the missing part on a secondary display (if applicable).

None of this behaviour seems to happen on Linux or macOS, which leads me to believe it is a Windows-specific bug.

1 Like

Probably discrepancy between window size and framebuffer size on Windows HiDPI machines? What is your Windows resolution, and what does your render script look like? Can you upload a picture from your phone as to what it looks like along with a screenshot from fraps?

The following screens illustrate how the issue manifests with 125% scaling at 1920x1080.


This is how it should look like:

I am using Björn Ritzl’s render script (at https://github.com/britzl/publicexamples/blob/master/examples/fixed_aspect_ratio/fixed_aspect_ratio/fixed_aspect_ratio.render_script )

Hmm, yeah, this could perhaps be a bug. @Mathias_Westerdahl, @sven, your thoughts?