Archived

This topic is now archived and is closed to further replies.

Dmitry Vasilijev

DirectX question

Recommended Posts

Thanks for answer.

I did it!!!
Simply I forgot to clear DDSURFACEDESC2 before I call IDirectDrawSurface.Lock().
And I''ve surprised that it get not very high perfomance hit.
I lock/UnLock surface to read the Z values near the 10 times per frame and I lose only 3-8 FPS.

Share this post


Link to post
Share on other sites