Roderick Colenbrander : wined3d: We don't need color keying for sysmem-> drawable uploads.

Alexandre Julliard julliard at winehq.org
Thu Apr 15 11:37:39 CDT 2010


Module: wine
Branch: master
Commit: 4cb62559073dc41a42bb30cabcd2ee51c1e454b6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4cb62559073dc41a42bb30cabcd2ee51c1e454b6

Author: Roderick Colenbrander <thunderbird2k at gmail.com>
Date:   Thu Apr 15 12:41:59 2010 +0200

wined3d: We don't need color keying for sysmem->drawable uploads.

---

 dlls/wined3d/surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 2986bc0..bb77ef5 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -4425,7 +4425,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LoadLocation(IWineD3DSurface *iface, D
                 IWineD3DSurfaceImpl_LoadLocation(iface, SFLAG_INSYSMEM, rect);
             }
 
-            d3dfmt_get_conv(This, TRUE /* We need color keying */, FALSE /* We won't use textures */, &desc, &convert);
+            d3dfmt_get_conv(This, FALSE /* We need color keying */, FALSE /* We won't use textures */, &desc, &convert);
 
             /* The width is in 'length' not in bytes */
             width = This->currentDesc.Width;




More information about the wine-cvs mailing list