diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-05-03 05:36:20 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-05-03 05:36:20 +0000 |
| commit | 1d393e8cc999844d2a3b251b78845aec62c9330a (patch) | |
| tree | 1a5e65c343082ef306c1565b6ae19d1c671e7477 /Graphics/GraphicsTools | |
| parent | Basic math: added Matrix4x4 Scale(T s) function (diff) | |
| download | DiligentCore-1d393e8cc999844d2a3b251b78845aec62c9330a.tar.gz DiligentCore-1d393e8cc999844d2a3b251b78845aec62c9330a.zip | |
Added WindowsFileSystem::OpenFileDialog() function
Diffstat (limited to 'Graphics/GraphicsTools')
| -rw-r--r-- | Graphics/GraphicsTools/src/TextureUploaderGL.cpp | 1 |
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) { |
