mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-11 01:24:12 +01:00
[d3d9] Use customVendorId to determine the options vendorId
This commit is contained in:
parent
58d8ea2d31
commit
07d007c642
@ -37,8 +37,8 @@ namespace dxvk {
|
||||
this->customDeviceId = parsePciId(config.getOption<std::string>("d3d9.customDeviceId"));
|
||||
this->customDeviceDesc = config.getOption<std::string>("d3d9.customDeviceDesc");
|
||||
|
||||
const int32_t vendorId = this->customDeviceId != -1
|
||||
? this->customDeviceId
|
||||
const int32_t vendorId = this->customVendorId != -1
|
||||
? this->customVendorId
|
||||
: (adapter != nullptr ? adapter->deviceProperties().vendorID : 0);
|
||||
|
||||
this->maxFrameLatency = config.getOption<int32_t> ("d3d9.maxFrameLatency", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user