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