mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[d3d11] Fix RSGetViewports and RSGetScissorRects behaviour
Fixes #1116.
This commit is contained in:
parent
24e1969dc4
commit
47f7333c18
@ -2858,10 +2858,10 @@ namespace dxvk {
|
||||
pViewports[i].MaxDepth = 0.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
*pNumViewports = m_state.rs.numViewports;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11DeviceContext::RSGetScissorRects(
|
||||
@ -2880,10 +2880,10 @@ namespace dxvk {
|
||||
pRects[i].bottom = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
*pNumRects = m_state.rs.numScissors;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11DeviceContext::SOSetTargets(
|
||||
|
Loading…
x
Reference in New Issue
Block a user