mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
VideoBackends:Metal: Properly set vsync on creation
This commit is contained in:
parent
274d4679ca
commit
45ee1be6da
@ -20,6 +20,7 @@ Metal::Renderer::Renderer(MRCOwned<CAMetalLayer*> layer, int width, int height,
|
||||
m_layer(std::move(layer))
|
||||
{
|
||||
UpdateActiveConfig();
|
||||
[m_layer setDisplaySyncEnabled:g_ActiveConfig.bVSyncActive];
|
||||
}
|
||||
|
||||
Metal::Renderer::~Renderer() = default;
|
||||
|
Loading…
x
Reference in New Issue
Block a user