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 »

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: 612
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: Fullscreen resolution affected by screen scaling

Post by ReFreezed »

Do both exclusive fullscreen and desktop fullscreen use the lower resolution?
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"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 »

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: 612
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: Fullscreen resolution affected by screen scaling

Post 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.
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests