Sign in to follow this  

SDL/C++ surfaces left behind after movement

Recommended Posts

Hi guys, sorry to bother you again, but I have another issue with my first SDL game(Tetris).
The problem Im having is that when I move the surface using the left/right keys or move the window, there is a copy of the surface left behind on the screen at the position where the movement occured.

The block constantly falls down, obviously, and that works just fine, its only when I press the key to move the block left or right or click the window to move it.

Thank you for any assistance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this