Search found 3 matches

by Trastaroots
Tue Apr 11, 2023 1:46 am
Forum: General
Topic: Is there a function to check if Adaptive vsync is supported?
Replies: 4
Views: 2153

Re: Is there a function to check if Adaptive vsync is supported?

IMO it's better UI/UX to let the checkbox stay ticked as the user chose it instead of forcing it to change, and then show the warning message (maybe as a tooltip from a new UI element shown next to the checkbox, a warning sign ⚠). Yeah, actually I might just do that, thx for the idea! I tried to us...
by Trastaroots
Sat Apr 08, 2023 2:28 am
Forum: General
Topic: Is there a function to check if Adaptive vsync is supported?
Replies: 4
Views: 2153

Re: Is there a function to check if Adaptive vsync is supported?

So basically when I toggle the checkbox I Should set and get VSync and if getVSync return 1 or -1 everything is fine and if getVSync return 0 then I just uncheck the checkbox and potentially use love.window.showMessageBox() to inform the user. I don't think that will do what you expect. DPI scale is...
by Trastaroots
Sat Apr 08, 2023 12:32 am
Forum: General
Topic: Is there a function to check if Adaptive vsync is supported?
Replies: 4
Views: 2153

Is there a function to check if Adaptive vsync is supported?

Hi there, :) I was working on my options menu, while looking through the wiki I noticed that adaptive vsync wasn't supported on all graphics drivers. So I thought maybe there's a function to check if it is supported or not, but couldn't find one. But I know you can set the vsync inside conf.lua to e...