| Summary: | Logic getting duplicate in SDL_UpperBlitScaled function | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Nitz <nitin.j4> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | CC: | sdlbug |
| Version: | 2.0.3 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | duplicate logic code removed | ||
Outdated by https://hg.libsdl.org/SDL/rev/5e713281410c This is fixed, thanks! |
Created attachment 1802 [details] duplicate logic code removed In function SDL_UpperBlitScaled(SDL_Surface * src, const SDL_Rect * srcrect, SDL_Surface * dst, SDL_Rect * dstrect) Here when dstrect is NULL, in this case logic getting duplicate for copy image into the entire dst surface. Patch is attached. Thanks!!!