Fullscreen resolution affected by screen scaling

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Whatthefuck
Party member
Posts: 106
Joined: Sat Jun 21, 2014 3:45 pm

Fullscreen resolution affected by screen scaling

Post by Whatthefuck » Fri Dec 21, 2018 9:07 am

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?

User avatar
ReFreezed
Party member
Posts: 162
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: Fullscreen resolution affected by screen scaling

Post by ReFreezed » Tue Jan 01, 2019 8:27 pm

Do both exclusive fullscreen and desktop fullscreen use the lower resolution?
Tools: Hot Particles, LuaPreprocess
Games: Momento Temporis: Light from the Deep, Momento Temporis: Arena, Energize!
"If each mistake being made is a new one, then progress is being made."

Whatthefuck
Party member
Posts: 106
Joined: Sat Jun 21, 2014 3:45 pm

Re: Fullscreen resolution affected by screen scaling

Post by Whatthefuck » Sun Jan 06, 2019 4:22 pm

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.

User avatar
ReFreezed
Party member
Posts: 162
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: Fullscreen resolution affected by screen scaling

Post by ReFreezed » Sun Jan 06, 2019 6:48 pm

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.
Tools: Hot Particles, LuaPreprocess
Games: Momento Temporis: Light from the Deep, Momento Temporis: Arena, Energize!
"If each mistake being made is a new one, then progress is being made."

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 37 guests