Is there any way to change the vsync setting of the window mid game without calling love.window.setmode, which, if in fullscreen, will cause the screen to close and reopen? (at least on a mac anyway)
Also as a side note, is there a way to get the refresh rate of a monitor?
General discussion about LÖVE, Lua, game development, puns, and unicorns.
2 posts • Page 1 of 1
- Party member
- Posts: 1914
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
For the second question, yes; 0.9.2 added a refreshrate field to the table returned by love.window.getMode, that returns (or at least tries to return) the refresh rate of the screen your löve program is on at that time.
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.
Users browsing this forum: No registered users and 7 guests