Sign in to follow this  

the ddutil.h file

This topic is 4840 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been using the CSurface and CDisplay classes in ddutil.h and having a few problems (flickering, see my previous post) and it seems that not many of you are familiar with these classes or else are familiar but haven't used them. Does anyone know if they are particularly problematic or just undiscovered.

Share this post


Link to post
Share on other sites
When I was using DirectDraw I didn't use the helper classes CSurface/CDisplay. I think they might have been introduced around DX 7.0 or so. As of DirectX 9 (or was it 8??), all of DirectDraw has been deprecated and you're expected to draw a 2D world using textured quads.

So you're probably just splitting a gap between generations. Those who used DirectDraw functions directly (good 'ole pDDDevice->CreateSurface()) and those that use the replacement DX9/DirectX Graphics.

That being said, I doubt that your flicker is coming from the utility classes and not from some other area of your code. I'll go take a look at your other thread maybe.

Share this post


Link to post
Share on other sites
I'm using these classes with my implementation of a software renderer (from T3DGPG). I havn't had any flickering problems or any other issues with them, so I don't think there is anything intrinsicly wrong with them.

Share this post


Link to post
Share on other sites

This topic is 4840 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this