[wined3d] Fix texture colour RGB <-> BGR reversal

Aric Cyr aric.cyr at gmail.com
Wed Mar 1 09:45:42 CST 2006

reverse GL_BGR to GL_RGB for the D3D RGB formats.  This fixes texture
colours in many D3D games (verified with Age Of Mythology).

 dlls/wined3d/utils.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Aric Cyr <Aric.Cyr at gmail dot com>    (http://acyr.net)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-d3dfmt.diff
Type: text/x-patch
Size: 1104 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060302/e6c60a43/wine-d3dfmt.diff

More information about the wine-patches mailing list