src/video/SDL_surface.c
changeset 7511 4ce3cc948a00
parent 7508 1f64c6874619
child 7601 fdf89883bbaa
equal deleted inserted replaced
7510:dbba26bab0f8 7511:4ce3cc948a00
   527     }
   527     }
   528 
   528 
   529     /* If the destination rectangle is NULL, use the entire dest surface */
   529     /* If the destination rectangle is NULL, use the entire dest surface */
   530     if (dstrect == NULL) {
   530     if (dstrect == NULL) {
   531         fulldst.x = fulldst.y = 0;
   531         fulldst.x = fulldst.y = 0;
       
   532         fulldst.w = dst->w;
       
   533         fulldst.h = dst->h;
   532         dstrect = &fulldst;
   534         dstrect = &fulldst;
   533     }
   535     }
   534 
   536 
   535     /* clip the source rectangle to the source surface */
   537     /* clip the source rectangle to the source surface */
   536     if (srcrect) {
   538     if (srcrect) {