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

Summary: SDL_TextureModulate not used anywhere?
Product: SDL Reporter: Luke A. Guest <laguest>
Component: renderAssignee: Sam Lantinga <slouken>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: API change    
Priority: P2    
Version: 2.0.1   
Hardware: x86_64   
OS: Linux   

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.