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:
parent
0c34fae9c7
commit
a3966b442b
@ -38,6 +38,15 @@ namespace dxvk {
|
||||
VkInstance handle() {
|
||||
return m_vki->instance();
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Number of adapters
|
||||
*
|
||||
* \returns The number of adapters
|
||||
*/
|
||||
size_t adapterCount() {
|
||||
return m_adapters.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Retrieves an adapter
|
||||
|
Loading…
x
Reference in New Issue
Block a user