comparison src/video/SDL_surface.c @ 519:c7da0cd5ae5e

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Oct 2002 15:36:32 +0000
parents 1be0cdaf8092
children 4314a501d7be
comparison
equal deleted inserted replaced
518:300b46757b7a 519:c7da0cd5ae5e
411 } 411 }
412 412
413 /* Figure out which blitter to use */ 413 /* Figure out which blitter to use */
414 if ( (src->flags & SDL_HWACCEL) == SDL_HWACCEL ) { 414 if ( (src->flags & SDL_HWACCEL) == SDL_HWACCEL ) {
415 if ( src == SDL_VideoSurface ) { 415 if ( src == SDL_VideoSurface ) {
416 hw_srcrect = *dstrect; 416 hw_srcrect = *srcrect;
417 hw_srcrect.x += current_video->offset_x; 417 hw_srcrect.x += current_video->offset_x;
418 hw_srcrect.y += current_video->offset_y; 418 hw_srcrect.y += current_video->offset_y;
419 srcrect = &hw_srcrect; 419 srcrect = &hw_srcrect;
420 } 420 }
421 if ( dst == SDL_VideoSurface ) { 421 if ( dst == SDL_VideoSurface ) {