Fixed memory corruption in SW_RenderReadPixels()

This commit is contained in:
Sam Lantinga
2009-11-16 07:39:08 +00:00
parent 7a40c23469
commit 0b1a37f8ba

View File

@@ -961,7 +961,7 @@ int SDL_ConvertPixels(int width, int height,
rect.x = 0;
rect.y = 0;
rect.w = width;
rect.h = width;
rect.h = height;
return SDL_LowerBlit(&src_surface, &rect, &dst_surface, &rect);
}