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 2200

Summary: SDL_SetRenderDrawBlendMode returns a bitmask of blend modes?
Product: SDL Reporter: Luke A. Guest <laguest>
Component: websiteAssignee: Jen Spradlin <jspradlin>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.0   
Hardware: Other   
OS: All   

Description Luke A. Guest 2013-10-30 19:08:56 UTC
In the API documentation for SDL_SetRenderDrawBlendMode, It states the following:

"blendMode may be SDL_BLENDMODE_NONE or a mask of any of the other SDL_BlendMode values OR'd together:"

As far as I can see the driver uses the blend mode within a switch statement and therefore is only set to one value at a time. Is this correct?
Comment 1 Sam Lantinga 2013-11-03 19:20:34 UTC
That was a bug in the documentation.  Fixed, thanks!