mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-04-12 03:02:33 +02:00
[d3d8] Don't record calls to MultiplyTransform
This commit is contained in:
parent
88be8256e6
commit
860d038d77
@ -1957,7 +1957,8 @@ namespace dxvk {
|
|||||||
|
|
||||||
const uint32_t idx = GetTransformIndex(TransformState);
|
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);
|
return m_recorder->MultiplyStateTransform(idx, pMatrix);
|
||||||
|
|
||||||
m_state.transforms[idx] = m_state.transforms[idx] * ConvertMatrix(pMatrix);
|
m_state.transforms[idx] = m_state.transforms[idx] * ConvertMatrix(pMatrix);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user