WineD3D: glBlend* fixes
the3dfxdude at gmail.com
Thu Sep 21 16:41:28 CDT 2006
On 9/21/06, Roderick Colenbrander <thunderbird2k at gmx.net> wrote:
> This patch changes the detection extension detection for glBlendColor/glBlendEquation. The function glBlendColor is part of OpenGL 1.1 and is supported on all OpenGL implementations. Officially it is part of the GL_ARB_imaging extension but not all vendors fully implement it and that's why only Nvidia and 3dlabs advertise it. This causes glBlendColor not to work on other implementations. So in case of GL 1.1, the detection is dropped.
> Further glBlendEquation is part of GL_ARB_imaging aswell. For the same reason GL_ARB_imaging can't be used to detect glBlendEquation. This call isn't supported on all OpenGL implementations. Luckily it is part of 'GL_EXT_blend_min_max' so that is used now.
Roderick, Mesa calls the extension "GL_EXT_blend_minmax", and so does
the spec. I don't know what exactly uses the min_max form. Is this a
Also, the TRACE call in device.c:4513 needs a \n added too ;)
More information about the wine-patches