[PATCH 3/5] wined3d: Remove ARB_/EXT_TEXTURE_ENV_ADD.

Henri Verbeet hverbeet at gmail.com
Thu Feb 26 03:25:06 CST 2015


On 25 February 2015 at 15:22, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> It's not all that clear and nice. set_tex_op() really depends on
> GL_(ARB|EXT)_texture_env_combine, since it's always setting
> GL_TEXTURE_ENV_MODE to GL_COMBINE (or GL_COMBINE4_NV) and using its
> knobs to set the texture color or alpha operation state (and those
> include the ADD setting for the COMBINE pname).
Right, we actually depend on at least texture_env_combine in practice
and that adds the ADD operation by itself. In theory we could perhaps
use texture_env_add when texture_env_combine isn't available, but it
doesn't seem worth it at this point.



More information about the wine-devel mailing list