SDL_Rect src; src.w = w; src.h = h; SDL_Rect dest; dest.x = 0; dest.y = 0; dest.w = w; dest.h = h;