1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 01:24:11 +01:00

[d3d8] Don't record calls to MultiplyTransform

This commit is contained in:
WinterSnowfall 2024-10-14 14:45:18 +03:00 committed by Robin Kertels
parent 88be8256e6
commit 860d038d77

View File

@ -1957,7 +1957,8 @@ namespace dxvk {
const uint32_t idx = GetTransformIndex(TransformState);
if (unlikely(ShouldRecord()))
// D3D8 state blocks ignore capturing calls to MultiplyTransform().
if (unlikely(!m_isD3D8Compatible && ShouldRecord()))
return m_recorder->MultiplyStateTransform(idx, pMatrix);
m_state.transforms[idx] = m_state.transforms[idx] * ConvertMatrix(pMatrix);