Hi,
I've got a problem: When I alt/tab out of my application and alt/tab back, the screen overwrites either the backbuffer or the frontbuffer (don't know which), which causes flickering. I don't know how to describe this problem any better, but here's my code:
http://pastebin.com/d52b22d8d
If I use the windowed mode and something gets over the window it fills it with its own graphics, too. But I don't know how to prevent that without having to draw all the stuff which was previously in the window again.
Could someone of you please help me?
I've got a problem: When I alt/tab out of my application and alt/tab back, the screen overwrites either the backbuffer or the frontbuffer (don't know which), which causes flickering. I don't know how to describe this problem any better, but here's my code:
http://pastebin.com/d52b22d8d
If I use the windowed mode and something gets over the window it fills it with its own graphics, too. But I don't know how to prevent that without having to draw all the stuff which was previously in the window again.
Could someone of you please help me?