| Summary: | GLES_UpdateTexture() ignores pitch | ||
|---|---|---|---|
| Product: | SDL | Reporter: | pelya <x.pelya.x> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: | GLES_UpdateTexture() patch | ||
This is fixed, thanks! http://hg.libsdl.org/SDL/rev/4cb4b18cbae3 |
Created attachment 525 [details] GLES_UpdateTexture() patch SDL 1.3 rev hg-4510 GLES_UpdateTexture() ignores pitch value, because of that some textures created with SDL_CreateTextureFromSurface() are drawn incorrectly, especially if image width is not multiplier of 2. Patch attached, permission to use under commercial license and LGPL is granted.