I'm really no good rendering with SDL, but my first gripe would be that x and y where out of bounds or pixel is null...