| Summary: | SDL's version of memset is different from libc's | ||
|---|---|---|---|
| Product: | SDL | Reporter: | janisozaur <janisozaur+libsdl> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | janisozaur+libsdl, sezeroz |
| Version: | 2.0.9 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
reproducer.c
0001-SDL_memset-correct-the-passed-argument.patch |
||
|
Description
janisozaur
2018-09-28 20:59:19 UTC
Created attachment 3329 [details]
0001-SDL_memset-correct-the-passed-argument.patch
Fixed, thanks! https://hg.libsdl.org/SDL/rev/9f3949b8ec40 As far as I can see, video/SDL_fillrect.c::SDL_FillRect1SSE() for e.g. will probably have different output after this change, might (or might not) need adjusting. Nope, that already takes an 8 bit color value so it should be good. Thanks for checking! My mistake. Thanks for clarifying. |