changeset 519:c7da0cd5ae5e

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Oct 2002 15:36:32 +0000
parents 300b46757b7a
children 26eb0f877ce6
files src/video/SDL_surface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_surface.c	Mon Oct 07 15:19:34 2002 +0000
+++ b/src/video/SDL_surface.c	Mon Oct 07 15:36:32 2002 +0000
@@ -413,7 +413,7 @@
 	/* Figure out which blitter to use */
 	if ( (src->flags & SDL_HWACCEL) == SDL_HWACCEL ) {
 		if ( src == SDL_VideoSurface ) {
-			hw_srcrect = *dstrect;
+			hw_srcrect = *srcrect;
 			hw_srcrect.x += current_video->offset_x;
 			hw_srcrect.y += current_video->offset_y;
 			srcrect = &hw_srcrect;