Ok, imagine my game screen all filled with sprites, a nice GUI, score table etc.. all I want to do is clear the screen to black, but the ClearScreen() does not seem to work.
does not work, all my sprites are still visible.. adding.. Render() or Swap() also seems to have no effect.
From what I read about ClearScreen() is that is seems to only affect the back buffer, but it also seems that 'Screen' affected is tha same part of the screen that is 'Under' all of my sprites. so it is having no visual effect..
A work around would be to create an image 1024x768 (all black) and than creating a sprite with that and placing that on screen with a depth of 1.. forcing it to be on top..
Come on guys I'm gonna smack someone on the head.. don't call a command 'ClearScreen()' if all it does is clear a backbuffer.
another alternative is for me to hide all the sprites showing to return the screen back to the black background. Seems like a lot of work just to get a clear black screen.
Any insights would be appreciated. Thanks.