How do you clear a DirectDraw Surface?
Just curious to know how do you clear a surface that you''ve just alocated? I mean, if you don''t clear the surface and just blit it, you''d get rubbish. Just curious to know how you clear that up.
Thanks
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
You could get a pointer to the surface and clear it manually, or with memset. Or you would blit 0 to the surface, clearing it.
--Antz
Quanta
--Antz
Quanta
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement