Code to render through SDL. stretches by 20 for a 1280x640 resolution