With the subject changed to "d3dx10: Handle format conversion in D3DX10CreateTextureFromMemory()." or similar this is
Signed-off-by: Matteo Bruni mbruni@codeweavers.com --- If we had the shared d3dx stuff in place we would probably reuse the surface conversion code from d3dx9 instead of leveraging WIC. I don't see any harm in using WIC for the time being though (especially when the alternative is to duplicate or reimplement format conversion).