mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-18 05:18:09 +00:00
[idd] driver: re-plug the monitor if the heap test failed
This commit is contained in:
@@ -36,7 +36,14 @@ struct CD3D12Device
|
||||
CD3D12Device(LUID adapterLUID);
|
||||
~CD3D12Device() { DeInit(); }
|
||||
|
||||
bool Init(CIVSHMEM &ivshmem, UINT64 &alignSize);
|
||||
enum InitResult
|
||||
{
|
||||
RETRY,
|
||||
FAILURE,
|
||||
SUCCESS
|
||||
};
|
||||
|
||||
InitResult Init(CIVSHMEM &ivshmem, UINT64 &alignSize);
|
||||
void DeInit();
|
||||
|
||||
ComPtr<ID3D12Device3> GetDevice() { return m_device; }
|
||||
|
Reference in New Issue
Block a user