Add love.window.get/setVSync, to allow changing the vsync setting without recreating the window.

This commit is contained in:
Alex Szpakowski
2018-12-18 13:39:06 -04:00
parent 6302602a45
commit e2aa469170
4 changed files with 45 additions and 7 deletions
+3
View File
@@ -74,6 +74,9 @@ public:
bool setIcon(love::image::ImageData *imgd) override;
love::image::ImageData *getIcon() override;
void setVSync(int vsync) override;
int getVSync() const override;
void setDisplaySleepEnabled(bool enable) override;
bool isDisplaySleepEnabled() const override;