mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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() {
|
VkInstance handle() {
|
||||||
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