Day 029 - PatBlt Problems!

Hi all,

So I had a quick question as I'm getting some strange behaviour. Ever since the PatBlt function call was added to clear the screen to black I seem to get the occasional flickering. It only happens occasionally and when it does the flickering is persistent and quick. I see my video buffer (with the tilemap on it) flickering to black. It stops and starts, and it seems to interrupt it when I resize the window. Could this have something to do with the fact that we aren't yet handling vsync? It doesn't seem to happen in Casey's version at that point so I'm not sure what I'm doing wrong. Thanks in advance for any help you may be able to offer!
Ignore this, Casey addresses it a few minutes later lol.
Andynonomous
Ignore this, Casey addresses it a few minutes later lol.


Just so you know, thanks for this post. I did the same thing you did. "Caseys seems fine!, What's wrong with mine?" *Pause video and google search for other people with this issue*.