Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
c1pw's avatar
c1pw
Honored Guest
12 years ago

API call to query Direct Vs Extended Mode?

Hi,

I looked but didn't see a way in SDK 4+ to query the runtime and find out if it's set to Extended or Direct. This seems like something quite basic, I'm probably overlooking it, can somebody point me in the right direction? We're using D3D for rendering.

Many thanks in advance,
Pete

2 Replies

  • if(HMD->HmdCaps & ovrHmdCap_ExtendDesktop)
    {
    cout << "running in \"extended desktop\" mode" << endl;
    }