Jonathan
to LPDIRECTDRAWSURFACE3 or not to LPDIRECTDRAWSURFACE3
September 30, 1999 01:19 AM
When Microsoft changes the version of the interface, like from LPDIRECTDRAWSURFACE2 to LPDIRECTDRAWSURFACE3, it's because the actual interface to it changed. Functions have been removed or added. If you want the extra functionality a new interface provides, you use it. Otherwise you're fine with using the old ones. There probably shouldn't be a performance increase.
Whats's the difference/advantages in using the LPDIRECTDRAWSURFACE3 interface instead of the original LPDIRECTDRAWSURFACE or LPDIRECTDRAWSURFACE2?
I have implemented the new interface in my app, with no performance increased noticed at all.
Is there a performance increase, or is it just a load of horse flatulence?
----;-(>
Another thing, after a few hours, and lots of 'Missing link' errors concerning the IID_IDirectDrawInterface parse in queryInterface(), I found out that you have to manually add the DXGUID.LIB library file when implementing the new interface. It would be good if there was some documentation in the SDK to tell people to do this ... but nooooooooooo...
-SikCiviC
-----------------------
Downloads: ZeroOne Realm
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement