• Advertisement

Archived

This topic is now archived and is closed to further replies.

My display keeps tearring...

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

Advertisement
Guest Anonymous Poster
I didn't have a chance to review the code..
But check your buffering.

if you have your own blit routines...like locking, blitting, and unlocking video memory then try erasing your background before blitting the new one.

You could always do dirty rects and make sure you memmove your screen and only draw the changes. But if using color 0 routines on the dirty sections then erase those sections first then draw over.

Sorry I don't have a real answer..its been a while since I did 2d stuff.

-DeadLine

Share this post


Link to post
Share on other sites
For some odd reason my display keeps tearring. I believe that the problem comes from DirectX. I do not believe that I am setting up DirectX correctly. If you would like to see the problem you can download the program from:
http://mike010.hypermart.net/demo.zip
If you think that you can help email me at Mike010@netZero.net and I will send you the source code.

Share this post


Link to post
Share on other sites

  • Advertisement