Most laptops running windows automatically have scaling set to 125%
With this love2d seems to run at 1536 x 984 instead of 1920 x 1080 for example.
Is there any way to get it to run at the native screen resolution instead?
Fullscreen Resolution incorrect when using windows scaling
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 1
- Joined: Wed Dec 14, 2022 11:02 am
-
- Party member
- Posts: 563
- Joined: Wed Oct 05, 2016 11:53 am
Re: Fullscreen Resolution incorrect when using windows scaling
Here's a relevant forum post, although I'm not sure how up-to-date that information is. You may try love.graphics.getDPIScale, but I'm not sure if it helps on Windows.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Fullscreen Resolution incorrect when using windows scaling
That would be a windows issue... anyway, currently, with 11.4, DPI scaling doesn't work in windows, don't remember if the upcoming 12.0 version will fix that or not.TheLoneNeighbour wrote: ↑Wed Dec 14, 2022 11:14 am Most laptops running windows automatically have scaling set to 125%
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Fullscreen Resolution incorrect when using windows scaling
I was worried about that problem five years ago:
viewtopic.php?p=217166#p217166
Since then I live with scary bat file with something like that:
Use at your own risk, or just do the same by hands like that:
download/file.php?id=15840
(Note that not only Love2d have that issue. Like 30% of my Steam games require that )
viewtopic.php?p=217166#p217166
Since then I live with scary bat file with something like that:
Code: Select all
REG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /V "O:\my_love_lives_here\win64\love.exe" /T REG_SZ /D ~HIGHDPIAWARE /F
@pause
download/file.php?id=15840
(Note that not only Love2d have that issue. Like 30% of my Steam games require that )
Re: Fullscreen Resolution incorrect when using windows scaling
One could simply
- rightclick the 'love.exe' file, (probably in c:\program files\LOVE\)
- click 'properties'
- click 'Compatibility' tab
- click 'Change high DPI settings'
- check 'Override high DPI scaling behavior' and select 'scaling performed by Application'
- rightclick the 'love.exe' file, (probably in c:\program files\LOVE\)
- click 'properties'
- click 'Compatibility' tab
- click 'Change high DPI settings'
- check 'Override high DPI scaling behavior' and select 'scaling performed by Application'
Who is online
Users browsing this forum: No registered users and 3 guests