Archived

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

Mosh

Checking the status of a surface

Recommended Posts

I never had to do this, but is seems that if a surface is locked and you try to lock it again, the second lock might return a failure code DDERR_SURFACEBUSY.

Just an idea, but I can''t confirm this!

Good luck!

Share this post


Link to post
Share on other sites
Thanks for the idea, but the problem is that I keep trying to lock/unlock the surface when it is already locked/unlocked and it is giving me errors. I don''t know if this is a bad thing or not, but I''d rather keep DX happy

Share this post


Link to post
Share on other sites