Desktop Duplication API throwing exception on Direct HMD
When using Desktop Duplication API
http://msdn.microsoft.com/en-us/library/windows/desktop/hh404487(v=vs.85).aspx
Everything is ok without Direct HMD, and also data can be aquired when ovr_Initialize(); is called after d3d-init. Grafix is nVidia Geforce 470gtx. Behaviour was observed in own Engines, but also with just integrating OVR-SDK in the Sample provided by Microsoft:
http://code.msdn.microsoft.com/windowsapps/Desktop-Duplication-Sample-da4c696a
http://msdn.microsoft.com/en-us/library/windows/desktop/hh404487(v=vs.85).aspx
DxgiOutput1->DuplicateOutput
//throwing exception when in Direct HMD Mode
ovr_InitializeRenderingShim();
//or
ovr_Initialize();
//were called before
Everything is ok without Direct HMD, and also data can be aquired when ovr_Initialize(); is called after d3d-init. Grafix is nVidia Geforce 470gtx. Behaviour was observed in own Engines, but also with just integrating OVR-SDK in the Sample provided by Microsoft:
http://code.msdn.microsoft.com/windowsapps/Desktop-Duplication-Sample-da4c696a
