• Advertisement
Sign in to follow this  

DirectDrawSurface

This topic is 2688 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

Hi,

does anyone have a clue how to lock a DirectDrawSurface and change the ARGB for each pixel of the surface?

Or a tutorial perhaps

Share this post


Link to post
Share on other sites
Advertisement
1. Are you sure you want to be using DirectDraw and not Direct3D?
2. Call LockRect() (Might be called Lock() actually), iterate over the pixels and change them, then call UnlockRect() (Might be Unlock()).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement