WineD3D: glBlend* fixes

Roderick Colenbrander thunderbird2k at
Thu Sep 21 15:32:41 CDT 2006


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 Colenbrander
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d_blend_fix.patch
Type: text/x-diff
Size: 3295 bytes
Desc: not available
Url :

More information about the wine-patches mailing list