diff --git a/Kits/ATGTK/d3dx12.h b/Kits/ATGTK/d3dx12.h index dd6779cf..d0e94645 100644 --- a/Kits/ATGTK/d3dx12.h +++ b/Kits/ATGTK/d3dx12.h @@ -2723,7 +2723,7 @@ inline bool operator==( const D3D12_RENDER_PASS_DEPTH_STENCIL_DESC &a, const D3D { if (a.cpuDescriptor.ptr != b.cpuDescriptor.ptr) return false; if (!(a.DepthBeginningAccess == b.DepthBeginningAccess)) return false; - if (!(a.StencilBeginningAccess == b.DepthBeginningAccess)) return false; + if (!(a.StencilBeginningAccess == b.StencilBeginningAccess)) return false; if (!(a.DepthEndingAccess == b.DepthEndingAccess)) return false; if (!(a.StencilEndingAccess == b.StencilEndingAccess)) return false; return true;