| Summary: | clarify SDL_LockTexture() description | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Stas Sergeev <stsp2> |
| Component: | website | Assignee: | Jen Spradlin <jspradlin> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Stas Sergeev
2017-01-10 14:22:14 UTC
It's the smaller buffer representing just the rectangle itself, and you should be sure to respect the pitch parameter. That's what the documentation says: * \param pixels This is filled in with a pointer to the locked pixels, appropriately offset by the locked area. Do you have any suggestions on how to word that so it's more clear? Thanks, it now does indeed look pretty clear. Either I missed something, or maybe the text was different back when I opened this ticket... Okay, thanks for confirming! |