开发者

Do you need to call CoInitialize() when using Direct3D9?

My understanding was since D3D is u开发者_如何转开发sing COM, the answer is yes. But in the Ogre rendering engine, it appears this is never called. Is this fine or an oversight - if so could it have some actual consequences?


It is not. You don't use CoCreateInstance(), the interface types are not declared in IDL, you have to link to a .lib

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜