mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Fix float emulation detection.
ffs
This commit is contained in:
parent
14df2f7251
commit
4e6db51230
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ namespace dxvk {
|
|||
} else if (floatEmulation == "true") {
|
||||
d3d9FloatEmulation = D3D9FloatEmulation::Enabled;
|
||||
} else {
|
||||
bool hasMulz = adapter->matchesDriver(DxvkGpuVendor::Amd,
|
||||
bool hasMulz = adapter != nullptr
|
||||
&& adapter->matchesDriver(DxvkGpuVendor::Amd,
|
||||
VK_DRIVER_ID_MESA_RADV,
|
||||
VK_MAKE_VERSION(21, 99, 99),
|
||||
0);
|
||||
|
|
Loading…
Add table
Reference in a new issue