🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

LPDIRECTDRAW vs IDirectDraw7*

Started by
1 comment, last by Rho 24 years, 7 months ago
For Direct3D, yes there is.

Even if you're not using any new features, you should still use the newer interfaces. Even though the newer DLL's are supposed to be 100% backwards compatible, this is not always the case.

Advertisement
is there any performance difference in using IDirectDrawSurface7* rather than LPDIRECTDRAWSURFACE? or, broader, is there any difference using the directx7 specific objects rather than the generic typedef?

-Delta Rho

I think he made a typo? LPDIRECTDRAWSURFACE is just a typedef for IDirectDrawSurface*. Same with LPDIRECTDRAWSURFACE7 and IDirectDrawSurface7*. There is no difference result-wise - but it is my belief that IDirectDrawSurface7 looks so much better that LPDIRECTDRAWSURFACE7. Heh

- Splat

This topic is closed to new replies.

Advertisement