Jump to content
  • Advertisement
Sign in to follow this  

I need a different approach...

This topic is 3609 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
Sign in to follow this  

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!