diff --git a/plugins/GSdx/GSDevice11.cpp b/plugins/GSdx/GSDevice11.cpp index 90e25aa002..c992a39b81 100644 --- a/plugins/GSdx/GSDevice11.cpp +++ b/plugins/GSdx/GSDevice11.cpp @@ -432,6 +432,11 @@ void GSDevice11::SetExclusive(bool isExcl) } } +void GSDevice11::SetVSync(int vsync) +{ + m_vsync = vsync ? 1 : 0; +} + void GSDevice11::Flip() { m_swapchain->Present(m_vsync, 0); diff --git a/plugins/GSdx/GSDevice11.h b/plugins/GSdx/GSDevice11.h index 3257bb6446..edf27ec367 100644 --- a/plugins/GSdx/GSDevice11.h +++ b/plugins/GSdx/GSDevice11.h @@ -170,6 +170,7 @@ public: bool Create(const std::shared_ptr &wnd); bool Reset(int w, int h); void Flip(); + void SetVSync(int vsync) final; void SetExclusive(bool isExcl);