Jump to content
  • Advertisement
Sign in to follow this  
Noods

I need a different approach...

This topic is 3518 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 am currently working on a sprite animation program using Win32. I am currently using a COLORREF to create a brush to color the back ground. The screen is invalidated when the background color is changed. In doing this, I am seeing tearing in parts of the program that I would like to eliminate. Instead of changing the background color, I would like to specify a region to update when the window is invalidated. I have been looking at different options using a RECT, but I can't figure out how implement it. Can someone make a suggestion for implementing this or point me to a pertinent article?

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!