mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[dxvk] Add adapterCount function to DXVKInstance.
Will be needed in the Direct3D9 interface as you can query the number of adapters.
This commit is contained in:
parent
0c34fae9c7
commit
a3966b442b
@ -39,6 +39,15 @@ namespace dxvk {
|
|||||||
return m_vki->instance();
|
return m_vki->instance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Number of adapters
|
||||||
|
*
|
||||||
|
* \returns The number of adapters
|
||||||
|
*/
|
||||||
|
size_t adapterCount() {
|
||||||
|
return m_adapters.size();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Retrieves an adapter
|
* \brief Retrieves an adapter
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user