Fixed memory corruption in SW_RenderReadPixels()
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404175
This commit is contained in:
parent
0f620b7fe4
commit
209448b796
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue