From ceb1bc219e2eb5a4151130c2b5fb2833854a8b45 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 5 Apr 2019 08:00:59 -0700 Subject: Implemented staging textures in Vk backend --- Graphics/GraphicsTools/src/ScreenCapture.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Graphics/GraphicsTools') 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; -- cgit v1.2.3