Original Post
Hi to All i've just done a simple program with sdl in order to bounce a ball in a window. The program read two image file: the background and the ball. At each step of the program the background is redrawn and the ball redrawn in a new position. this procedure it seems quite slow because all the background is redrawn each time. So i want to redraw only the zone of the background that was deleted by the ball. Is this way correct? Has SDL a function that help me?