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

This commit is contained in:
Roderick Colenbrander 2010-04-15 12:41:59 +02:00 committed by Alexandre Julliard
parent 2a949ec323
commit 4cb6255907
1 changed files with 1 additions and 1 deletions

View File

@ -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;