Handmade Hero » Forums » Code » Day 029 - PatBlt Problems!
Andynonomous
Andy
13 posts
#3475 Day 029 - PatBlt Problems!
2 years, 4 months ago

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!
Andynonomous
Andy
13 posts
#3476 Day 029 - PatBlt Problems!
2 years, 4 months ago

Ignore this, Casey addresses it a few minutes later lol.
mrbass21
Jason
10 posts
#10933 Day 029 - PatBlt Problems!
7 months, 1 week ago

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*.