Added a note so I remember what the heck I was doing later. :)
authorSam Lantinga <slouken@libsdl.org>
Mon, 17 Apr 2006 07:03:13 +0000
changeset 16448a858076f39d
parent 1643 51038e80ae59
child 1645 2a55580b767b
Added a note so I remember what the heck I was doing later. :)
src/video/SDL_yuv_sw.c
     1.1 --- a/src/video/SDL_yuv_sw.c	Mon Apr 17 06:47:23 2006 +0000
     1.2 +++ b/src/video/SDL_yuv_sw.c	Mon Apr 17 07:03:13 2006 +0000
     1.3 @@ -1178,6 +1178,11 @@
     1.4  	stretch = 0;
     1.5  	scale_2x = 0;
     1.6  	if ( src->x || src->y || src->w < overlay->w || src->h < overlay->h ) {
     1.7 +		/* The source rectangle has been clipped.
     1.8 +		   Using a scratch surface is easier than adding clipped
     1.9 +		   source support to all the blitters, plus that would
    1.10 +		   slow them down in the general unclipped case.
    1.11 +		*/
    1.12  		stretch = 1;
    1.13  	} else if ( (src->w != dst->w) || (src->h != dst->h) ) {
    1.14  		if ( (dst->w == 2*src->w) &&