| Summary: | SDL_RenderFillRect doesn't work in DirectFB | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Lacky <alacki93> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 2.0.12 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: | Fix SDL_RenderFillRect for DirectFB | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/a90089f75990 |
Created attachment 4348 [details] Fix SDL_RenderFillRect for DirectFB It looks like refactoring of SDL2 internal API has broken SDL_RenderFillRect for DirectFB. In new version function SDL_RenderFillRect returns 0, but rectangle is not visible. Replacing "count" with "len" in the argument list for SDL_memcpy in DirectFB_QueueFillRects fixes problem. In attachment is my proposition of patch.