mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
metal: implement vsync toggle on macOS
This commit is contained in:
@@ -49,6 +49,12 @@ std::string checkDropEvents();
|
||||
**/
|
||||
void requestAttention(bool continuous);
|
||||
|
||||
/**
|
||||
* Sets whether vsync is enabled for the given CAMetalLayer
|
||||
**/
|
||||
void setMetalLayerVSync(void *metallayer, bool vsync);
|
||||
bool getMetalLayerVSync(void *metallayer);
|
||||
|
||||
} // macos
|
||||
} // love
|
||||
|
||||
|
||||
Reference in New Issue
Block a user