mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 10:44:39 -05:00
Fixed memory corruption in SW_RenderReadPixels()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user