summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-09-04 19:08:45 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-09-04 19:08:45 +0100
commit7af569a39a6a7d01a58093a01b16644c2c0f5657 (patch)
treed1585350ca95b3b16cbcce5725cfa54ff399c1d5
parent7a7ec99b9c0b8928ec74df94a1fef8ac3955cd8d (diff)
d3dretrace: Extend UpdateSubresource's special code to UpdateSubresource1.
-rwxr-xr-xretrace/dxgiretrace.py2
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