| Summary: | Texture color modulation doesn't work with active NONE blend mode (opengl and opengles) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Simon Hug <chli.hug> |
| Component: | render | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gindar |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
Test case for the texture color modulation with an active NONE blend mode.
Patch that fixes the texture color modulation when the NONE mode is active with the opengl en opengles renderers. |
||
|
Description
Simon Hug
2016-06-12 19:17:44 UTC
Created attachment 2494 [details]
Patch that fixes the texture color modulation when the NONE mode is active with the opengl en opengles renderers.
The attached patch removes the calls to glTexEnvf in the GL_SetBlendMode and GLES_SetBlendMode functions. Since the default is GL_MODULATE, no mode change is necessary.
Agh, I'm bad at spotting these. Bug 2317 is probably the same issue. Fixed, thanks! https://hg.libsdl.org/SDL/rev/48b40c223503 |