Hi,
I'm implementing a minimap for my 2D Tile game. I have a vector of tiles, and I really wanted to just draw the map once, and then draw changes (excluding window.clear() calls), since drawing each tile of the map each cycle will be very intensive for large maps.
The problem is that when I do not clear after each frame, the screen portions that are not drawn each frame will flicker between black and their desired color.
Is there a way to fix this?
Also, the flickering has made a permanent square of flickering on my monitor :\, effectively ruining my monitor, so, perhaps a word of caution to others experimenting with such.