1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05: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:
Joshua Ashton 2019-02-10 02:56:27 +00:00 committed by Philip Rebohle
parent 0c34fae9c7
commit a3966b442b

View File

@ -39,6 +39,15 @@ namespace dxvk {
return m_vki->instance();
}
/**
* \brief Number of adapters
*
* \returns The number of adapters
*/
size_t adapterCount() {
return m_adapters.size();
}
/**
* \brief Retrieves an adapter
*