summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-31 23:43:02 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-31 23:43:02 +0000
commita8a3940fa4491963048ade02dcb035eaca4b6eb5 (patch)
treea504b665ab7792eb970b8aecc535edbb4d814de4 /Graphics/GraphicsEngine
parentSome minor updates to d3d swap chain (diff)
downloadDiligentCore-a8a3940fa4491963048ade02dcb035eaca4b6eb5.tar.gz
DiligentCore-a8a3940fa4491963048ade02dcb035eaca4b6eb5.zip
Added sync interval parameter to ISwapChain::Present()
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/SwapChain.h4
1 files changed, 2 insertions, 2 deletions
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;