mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[d3d9] Ignore clear with Count == 0 and non-NULL rect
This commit is contained in:
parent
546bd6f462
commit
a1fbcf35de
@ -1377,6 +1377,9 @@ namespace dxvk {
|
||||
D3DCOLOR Color,
|
||||
float Z,
|
||||
DWORD Stencil) {
|
||||
if (unlikely(!Count && pRects))
|
||||
return D3D_OK;
|
||||
|
||||
D3D9DeviceLock lock = LockDevice();
|
||||
|
||||
const auto& vp = m_state.viewport;
|
||||
|
Loading…
Reference in New Issue
Block a user