Page 1 of 1

Fullscreen resolution affected by screen scaling

Posted: Fri Dec 21, 2018 9:07 am
by Whatthefuck
Like the title says, the fullscreen render resolution of the love2d window seems to be affected by the screen scaling (in Windows 10). For example, if I have a 1920x1080 monitor and set the screen scaling to 150%, in full screen mode it will use 1280x720. Is there any way to disable this or is this something that we're meant to handle on our own?

Re: Fullscreen resolution affected by screen scaling

Posted: Tue Jan 01, 2019 8:27 pm
by ReFreezed
Do both exclusive fullscreen and desktop fullscreen use the lower resolution?

Re: Fullscreen resolution affected by screen scaling

Posted: Sun Jan 06, 2019 4:22 pm
by Whatthefuck
ReFreezed wrote:
Tue Jan 01, 2019 8:27 pm
Do both exclusive fullscreen and desktop fullscreen use the lower resolution?
A bit of a late reply, but yeah, neither mode allow me to set a resolution that isn't anything but the lower resolution as well.

Re: Fullscreen resolution affected by screen scaling

Posted: Sun Jan 06, 2019 6:48 pm
by ReFreezed
I want to say that t.window.highdpi in conf.lua should fix it but that's only for Mac retina displays according to the documentation. There may be a function in Windows you can call using FFI and/or some parameter in the .exe's manifest you could add, but it may mess up LÖVE in some way. I'm not sure what the answer is.