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 - SDL_SetRenderDrawBlendMode returns a bitmask of blend modes?
Summary: SDL_SetRenderDrawBlendMode returns a bitmask of blend modes?
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: website (show other bugs)
Version: 2.0.0
Hardware: Other All
: P2 normal
Assignee: Jen Spradlin
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 19:08 UTC by Luke A. Guest
Modified: 2013-11-03 19:20 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-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!