summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-12-13 12:40:52 -0800
committerGitHub <noreply@github.com>2021-12-13 12:40:52 -0800
commitf024d7299831c0312877e315e8d78b920aaafbaf (patch)
tree51bf3b01e98a8a3d351a2ed313f15a614a2a5c78 /tools/gfx/debug-layer.cpp
parent7c1ca35c96096cb0059f0ef23a799bf5952810c5 (diff)
Fixes to `uploadTextureData`. (#2058)
* Fixes to `uploadTextureData`. * Fix, Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
-rw-r--r--tools/gfx/debug-layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp
index fa7064b89..be76f8ade 100644
--- a/tools/gfx/debug-layer.cpp
+++ b/tools/gfx/debug-layer.cpp
@@ -1280,7 +1280,7 @@ void DebugResourceCommandEncoder::uploadTextureData(
ITextureResource* dst,
SubresourceRange subResourceRange,
ITextureResource::Offset3D offset,
- ITextureResource::Offset3D extent,
+ ITextureResource::Size extent,
ITextureResource::SubresourceData* subResourceData,
size_t subResourceDataCount)
{