diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-09-04 19:08:45 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-09-04 19:08:45 +0100 |
commit | 7af569a39a6a7d01a58093a01b16644c2c0f5657 (patch) | |
tree | d1585350ca95b3b16cbcce5725cfa54ff399c1d5 | |
parent | 7a7ec99b9c0b8928ec74df94a1fef8ac3955cd8d (diff) |
d3dretrace: Extend UpdateSubresource's special code to UpdateSubresource1.
-rwxr-xr-x | retrace/dxgiretrace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retrace/dxgiretrace.py b/retrace/dxgiretrace.py index adb0d722..44c81095 100755 --- a/retrace/dxgiretrace.py +++ b/retrace/dxgiretrace.py @@ -324,7 +324,7 @@ class D3DRetracer(Retracer): if flag.endswith('_MAP_FLAG_DO_NOT_WAIT'): print r' MapFlags &= ~%s;' % flag - if method.name == 'UpdateSubresource': + if method.name.startswith('UpdateSubresource'): # The D3D10 debug layer is buggy (or at least inconsistent with the # runtime), as it seems to estimate and enforce the data size based on the # SrcDepthPitch, even for non 3D textures, but in some traces |