mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Use customVendorId to determine the options vendorId
This commit is contained in:
parent
58d8ea2d31
commit
07d007c642
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue