mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
[d3d9] Fix recording MultiplyTransform
This commit is contained in:
parent
43df6cfa45
commit
4f0c217633
@ -1606,10 +1606,10 @@ namespace dxvk {
|
||||
HRESULT STDMETHODCALLTYPE D3D9DeviceEx::MultiplyTransform(D3DTRANSFORMSTATETYPE TransformState, const D3DMATRIX* pMatrix) {
|
||||
D3D9DeviceLock lock = LockDevice();
|
||||
|
||||
if (unlikely(ShouldRecord()))
|
||||
return m_recorder->MultiplyStateTransform(TransformState, pMatrix);
|
||||
const uint32_t idx = GetTransformIndex(TransformState);
|
||||
|
||||
uint32_t idx = GetTransformIndex(TransformState);
|
||||
if (unlikely(ShouldRecord()))
|
||||
return m_recorder->MultiplyStateTransform(idx, pMatrix);
|
||||
|
||||
m_state.transforms[idx] = m_state.transforms[idx] * ConvertMatrix(pMatrix);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user