summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-04-05 15:00:59 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-04-05 15:00:59 +0000
commitceb1bc219e2eb5a4151130c2b5fb2833854a8b45 (patch)
tree0cc40adb02d6018d04e0844e8fd291b99ff60c8e /Graphics/GraphicsTools
parentFixed rotation matrices (diff)
downloadDiligentCore-ceb1bc219e2eb5a4151130c2b5fb2833854a8b45.tar.gz
DiligentCore-ceb1bc219e2eb5a4151130c2b5fb2833854a8b45.zip
Implemented staging textures in Vk backend
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/src/ScreenCapture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsTools/src/ScreenCapture.cpp b/Graphics/GraphicsTools/src/ScreenCapture.cpp
index f4fd9c74..fc27c393 100644
--- a/Graphics/GraphicsTools/src/ScreenCapture.cpp
+++ b/Graphics/GraphicsTools/src/ScreenCapture.cpp
@@ -62,6 +62,7 @@ void ScreenCapture::Capture(ISwapChain* pSwapChain, IDeviceContext* pContext, Ui
if (!pStagingTexture)
{
TextureDesc TexDesc;
+ TexDesc.Name = "Staging texture for screen capture";
TexDesc.Type = RESOURCE_DIM_TEX_2D;
TexDesc.Width = SCDesc.Width;
TexDesc.Height = SCDesc.Height;