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 2256 - SDL_TextureModulate not used anywhere?
Summary: SDL_TextureModulate not used anywhere?
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: 2.0.1
Hardware: x86_64 Linux
: P2 API change
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 17:34 UTC by Luke A. Guest
Modified: 2013-11-23 14:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke A. Guest 2013-11-20 17:34:06 UTC
Hi,

I see this in the docs and in the header, but I grep and it's used nowhere. Is this a renaming of SDL_BlendMode?
Comment 1 Sam Lantinga 2013-11-23 09:50:57 UTC
Nope, it's used in SDL_SetTextureColorMod() and SDL_SetTextureAlphaMod()
Comment 2 Luke A. Guest 2013-11-23 14:05:50 UTC
[code]
$ grep -r SDL\_TextureModulate thirdparty/SDL2-2.0.1
thirdparty/SDL2-2.0.1/include/SDL_render.h:} SDL_TextureModulate;
[/code]

Not used anywhere.
Comment 3 Luke A. Guest 2013-11-23 14:07:42 UTC
(In reply to Sam Lantinga from comment #1)
> Nope, it's used in SDL_SetTextureColorMod() and SDL_SetTextureAlphaMod()

Those two functions take colour and alpha values, that enum is not used there.