Using SDL, is there a function to draw an unfilled rectangle ? The areas that my sprites can walk are defined by rectangles and it would be a handy debug solution to draw these rectangles on the screen. I can then see if I have defined the areas correctly and that the sprites are allowed in the correct areas. If there isn't an appropriate command, does anyone have a code snippet to draw a rect line by line ?