mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Add love.window.get/setVSync, to allow changing the vsync setting without recreating the window.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user