mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 16:08:50 +01:00
[d3d9] Fix float emulation detection.
ffs
This commit is contained in:
parent
14df2f7251
commit
4e6db51230
@ -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…
Reference in New Issue
Block a user