comparison src/video/SDL_surface.c @ 3436:0538362b98d3

Fixed memory corruption in SW_RenderReadPixels()
author Sam Lantinga <slouken@libsdl.org>
date Mon, 16 Nov 2009 07:39:08 +0000
parents 147d6ef5be03
children 5543db4239e6
comparison
equal deleted inserted replaced
3435:9f62f47d989b 3436:0538362b98d3
959 959
960 /* Set up the rect and go! */ 960 /* Set up the rect and go! */
961 rect.x = 0; 961 rect.x = 0;
962 rect.y = 0; 962 rect.y = 0;
963 rect.w = width; 963 rect.w = width;
964 rect.h = width; 964 rect.h = height;
965 return SDL_LowerBlit(&src_surface, &rect, &dst_surface, &rect); 965 return SDL_LowerBlit(&src_surface, &rect, &dst_surface, &rect);
966 } 966 }
967 967
968 /* 968 /*
969 * Free a surface created by the above function. 969 * Free a surface created by the above function.