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
@@ -159,6 +159,9 @@ public:
virtual bool setIcon(love::image::ImageData *imgd) = 0;
virtual love::image::ImageData *getIcon() = 0;
virtual void setVSync(int vsync) = 0;
virtual int getVSync() const = 0;
virtual void setDisplaySleepEnabled(bool enable) = 0;
virtual bool isDisplaySleepEnabled() const = 0;