VOGONS


First post, by bobby123

User metadata
Rank Newbie
Rank
Newbie

I tried calling d3d9_device->QueryInterface( __uuidof(ID3D11Device), &d3d11_device); but it just returns the d3d9 device?

Reply 1 of 2, by Dege

User metadata
Rank l33t
Rank
l33t

You can't obtain a pointer to the internal ID3D11Device.
Why do you need that?

Reply 2 of 2, by bobby123

User metadata
Rank Newbie
Rank
Newbie

I wrote a third-party patch for an old D3D8 game, and I'd like to make D3d11 calls, instead of using D3D8 crap.

I thought it would be supported with the developer API, like it is with Microsoft's upcoming D3D9On12 API, since it could be useful.

Anyway, I'll just hook D3D11CreateDevice to get the internal pointer, I suppose.