summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-05-03 05:36:20 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-05-03 05:36:20 +0000
commit1d393e8cc999844d2a3b251b78845aec62c9330a (patch)
tree1a5e65c343082ef306c1565b6ae19d1c671e7477 /Graphics/GraphicsTools
parentBasic math: added Matrix4x4 Scale(T s) function (diff)
downloadDiligentCore-1d393e8cc999844d2a3b251b78845aec62c9330a.tar.gz
DiligentCore-1d393e8cc999844d2a3b251b78845aec62c9330a.zip
Added WindowsFileSystem::OpenFileDialog() function
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/src/TextureUploaderGL.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Graphics/GraphicsTools/src/TextureUploaderGL.cpp b/Graphics/GraphicsTools/src/TextureUploaderGL.cpp
index 2fe321e4..433ca0d2 100644
--- a/Graphics/GraphicsTools/src/TextureUploaderGL.cpp
+++ b/Graphics/GraphicsTools/src/TextureUploaderGL.cpp
@@ -259,7 +259,6 @@ void TextureUploaderGL::RenderThreadUpdate(IDeviceContext *pContext)
case InternalData::PendingBufferOperation::Copy:
{
const auto& TexDesc = OperationInfo.pDstTexture->GetDesc();
- const auto& FmtAttribs = GetTextureFormatAttribs(TexDesc.Format);
pContext->UnmapBuffer(pBuffer->m_pStagingBuffer, MAP_WRITE);
for (Uint32 Slice = 0; Slice < UploadBuffDesc.ArraySize; ++Slice)
{