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…
Reference in New Issue