If you do not want the background to move then you will have to draw it first then translate the rest of your scene based on the position of your camera or whatever is moving right now. If you want the background to go forever and move it then you will have to tile* the background image on a huge surface (I wouldn't recommend that).
*Not 100% sure if SDL allows you to tile images but I know in OpenGL you can.
sfuo
Practically a Master Poster
656 posts since Jul 2009
Reputation Points: 164
Solved Threads: 99