Sign in to follow this  

I need a different approach...

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

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