SDL/src/render
Sam Lantinga a42c396a57 Fixed bug 3361 - Texture color modulation doesn't work with active NONE blend mode (opengl and opengles)
Simon Hug

The GL_SetBlendMode and GLES_SetBlendMode functions of the opengl and opengles renderers call the glTexEnvf to set the texture env mode to either GL_MODULATE (the default) or GL_REPLACE for the NONE blend mode. Using GL_REPLACE disables color and alpha modulation for textures.

These glTexEnv calls were put in the SetBlendMode function back in 2006 [1], but there the NONE code still used the GL_DECAL mode. The GL_REPLACE mode came in 2008 [2]. I'm a bit confused why that wasn't always GL_MODULATE and a bit surprised nobody reported that yet (unless I missed it). I guess only a few use the gles renderer and the newish shaders mask the issue.
2016-10-01 11:04:45 -07:00
..
direct3d Fixed Bug 3147 - Windows: Crash when resizing Window since hg 1f9d57965528 2016-06-24 22:17:56 -04:00
direct3d11 Fixed bug 3336 - Failure to build with MinGW-w64 2016-10-01 10:28:00 -07:00
opengl Fixed bug 3361 - Texture color modulation doesn't work with active NONE blend mode (opengl and opengles) 2016-10-01 11:04:45 -07:00
opengles Fixed bug 3361 - Texture color modulation doesn't work with active NONE blend mode (opengl and opengles) 2016-10-01 11:04:45 -07:00
opengles2 Updated copyright to 2016 2016-01-02 10:10:34 -08:00
psp PSP: Fixed returning success from unsupported SDL_RenderReadPixels(). 2016-04-01 21:13:58 +02:00
software Fixed spacing 2016-09-13 18:44:28 -07:00
SDL_d3dmath.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_d3dmath.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_render.c Fixed compile warnings about type conversion. 2016-01-16 21:25:10 +01:00
SDL_sysrender.h SDL_RenderSetIntegerScale 2016-01-05 16:39:18 -05:00
SDL_yuv_mmx.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_yuv_sw.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_yuv_sw_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
mmx.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00