We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3681 - SDL_UpdateTexture documentation not specific enough about format requirement
Summary: SDL_UpdateTexture documentation not specific enough about format requirement
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.6
Depends on:
Blocks:
 
Reported: 2017-06-24 08:49 UTC by Simon Hug
Modified: 2017-08-10 19:18 UTC (History)
1 user (show)

See Also:


Attachments
Patch that extends the SDL_UpdateTexture documentation. (800 bytes, patch)
2017-06-24 08:49 UTC, Simon Hug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Hug 2017-06-24 08:49:34 UTC
Created attachment 2774 [details]
Patch that extends the SDL_UpdateTexture documentation.

The documentation of SDL_UpateTexture does not say that the pixel data has to be in the format of the texture.

Attached patch adds this to the source code. I currently don't have a wiki account to change it there.
Comment 1 Ryan C. Gordon 2017-08-09 05:25:36 UTC
(Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.)

Tagging a bunch of bugs as target-2.0.6.

This means we're in the final stretch for an official SDL 2.0.6 release! These are the bugs we really want to fix before shipping if humanly possible.

That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.6 release, and generally be organized about what we're aiming to ship. After some debate, we might just remove this tag again and deal with it for a later release.

Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment.

Thanks!
--ryan.
Comment 2 Sam Lantinga 2017-08-10 18:58:11 UTC
This is fixed in the following commit. Would you like a wiki account? Please send e-mail to slouken@libsdl.org with a username and password if you would like one.

https://hg.libsdl.org/SDL/rev/908e4fe53f5a

Thanks!
Comment 3 Ryan C. Gordon 2017-08-10 19:18:24 UTC
(Just correcting the spelling on the bug title for the sake of future searches.)

--ryan.