mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[d3d9] Fix lenient clears
This commit is contained in:
parent
c4449faf5a
commit
c8341e4be3
@ -1459,8 +1459,8 @@ namespace dxvk {
|
||||
if (unlikely(uint32_t(offset.x) >= imageExtent.width || uint32_t(offset.y) >= imageExtent.height))
|
||||
return;
|
||||
|
||||
const bool fullClear = align(extent.width, alignment) == imageExtent.width
|
||||
&& align(extent.height, alignment) == imageExtent.height
|
||||
const bool fullClear = align(extent.width, alignment) == align(imageExtent.width, alignment)
|
||||
&& align(extent.height, alignment) == align(imageExtent.height, alignment)
|
||||
&& offset.x == 0
|
||||
&& offset.y == 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user