summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-08-13 05:44:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-08-13 05:44:35 +0000
commit08bc381df35b5995e82b2825d7b7fe8e57f60b51 (patch)
tree108c86a23f86d3b3a7b83596abffe999941d1b30 /Graphics/GraphicsEngine
parentVulkan backend: enabled multiple swap chain support (closed https://github.co... (diff)
downloadDiligentCore-08bc381df35b5995e82b2825d7b7fe8e57f60b51.tar.gz
DiligentCore-08bc381df35b5995e82b2825d7b7fe8e57f60b51.zip
Updated comments
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
index de16811a..79f0883f 100644
--- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h
+++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
@@ -1221,7 +1221,8 @@ namespace Diligent
/// Indicates if this is a primary swap chain. The back buffer and depth-stencil
/// buffer of the primary swap are set by SetRenderTargets(0, nullptr, nullptr)
- /// call. There must be only one primary swap chain.
+ /// call. Also, when Present() is called for the primary swap chain, the engine
+ /// releases stale resources. There must only be one primary swap chain.
bool IsPrimary = true;
SwapChainDesc()noexcept{}