]> git.cworth.org Git - apitrace/blobdiff - helpers/d3dcommonsize.hpp
Use skiplist-based FastCallSet within trace::CallSet
[apitrace] / helpers / d3dcommonsize.hpp
index d4c486277ca0f84ad69fb045a09a0057a5f40472..b1f7b284d024001b83d444db5b00900fc98c4859 100644 (file)
@@ -163,6 +163,7 @@ _getLockSize(D3DFORMAT Format, UINT Width, UINT Height, INT RowPitch, UINT Depth
 
 #if DIRECT3D_VERSION >= 0x900
     case D3DFMT_NV12:
+    case D3DFMT_YV12:
         return (Height + ((Height + 1) / 2)) * RowPitch;
 
     case D3DFMT_NULL: