[idd] updated to a VS2022 project with Windows 10 support
This commit is contained in:
1 parent
0c3dce3ca6
commit
0c176acf94
6 files changed
+68
-24
No files matched your search
@@ -46,7 +46,15 @@ void CIndirectDeviceContext::InitAdapter()
|
||||
return;
|
||||
|
||||
IDDCX_ADAPTER_CAPS caps = {};
|
||||
caps.Size = sizeof(caps);
|
||||
caps.Size = sizeof(caps);
|
||||
|
||||
/**
|
||||
* For some reason if we do not set this flag sometimes windows will
|
||||
* refuse to enumerate our virtual monitor. Intel also noted in their
|
||||
* sources that if this is not set dynamic resolution changes from this
|
||||
* driver will not work. This behaviour is not documented by Microsoft.
|
||||
*/
|
||||
caps.Flags = IDDCX_ADAPTER_FLAGS_USE_SMALLEST_MODE;
|
||||
|
||||
caps.MaxMonitorsSupported = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user