Skip to content

Commit

Permalink
[d3d9] workaround for EDG frontend based compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
r-a-sattarov committed Jan 22, 2024
1 parent ac78048 commit 36d0a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d9/d3d9_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ namespace dxvk {
}
else {
for (UINT i = 0; i < Count; i++)
set->fConsts[StartRegister + i] = replaceNaN(pConstantData + (i * 4));
set->fConsts[StartRegister + i] = replaceNaN((float*)pConstantData + (i * 4));
}
}
else if constexpr (ConstantType == D3D9ConstantType::Int) {
Expand Down

0 comments on commit 36d0a7e

Please sign in to comment.