mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxvk] Fix incorrect comparison in DxvkSparsePageTable::updateMapping
m_mappings[page] was getting implicitly converted to bool.
This commit is contained in:
parent
2ca8fdf890
commit
799aeff560
@ -410,7 +410,7 @@ namespace dxvk {
|
||||
DxvkCommandList* cmd,
|
||||
uint32_t page,
|
||||
DxvkSparseMapping&& mapping) {
|
||||
if (m_mappings[page] != page) {
|
||||
if (m_mappings[page] != mapping) {
|
||||
if (m_mappings[page])
|
||||
cmd->trackResource<DxvkAccess::None>(m_mappings[page].m_page);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user