Commit 209448b7 authored by Sam Lantinga's avatar Sam Lantinga

Fixed memory corruption in SW_RenderReadPixels()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404175
parent 0f620b7f
...@@ -961,7 +961,7 @@ int SDL_ConvertPixels(int width, int height, ...@@ -961,7 +961,7 @@ int SDL_ConvertPixels(int width, int height,
rect.x = 0; rect.x = 0;
rect.y = 0; rect.y = 0;
rect.w = width; rect.w = width;
rect.h = width; rect.h = height;
return SDL_LowerBlit(&src_surface, &rect, &dst_surface, &rect); return SDL_LowerBlit(&src_surface, &rect, &dst_surface, &rect);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment