diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-03-31 23:43:02 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-03-31 23:43:02 +0000 |
| commit | a8a3940fa4491963048ade02dcb035eaca4b6eb5 (patch) | |
| tree | a504b665ab7792eb970b8aecc535edbb4d814de4 /Graphics/GraphicsEngine | |
| parent | Some minor updates to d3d swap chain (diff) | |
| download | DiligentCore-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.h | 4 |
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; |
