From a8a3940fa4491963048ade02dcb035eaca4b6eb5 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 31 Mar 2018 16:43:02 -0700 Subject: Added sync interval parameter to ISwapChain::Present() --- Graphics/GraphicsEngine/interface/SwapChain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/SwapChain.h b/Graphics/GraphicsEngine/interface/SwapChain.h index 87830be0..578d4fdb 100644 --- a/Graphics/GraphicsEngine/interface/SwapChain.h +++ b/Graphics/GraphicsEngine/interface/SwapChain.h @@ -43,8 +43,8 @@ class ISwapChain : public IObject { public: - /// Presents a rendered image to the user. - virtual void Present() = 0; + /// Presents a rendered image to the user + virtual void Present(Uint32 SyncInterval = 1) = 0; /// Returns the swap chain desctription virtual const SwapChainDesc& GetDesc()const = 0; -- cgit v1.2.3