Signed-off-by: Ziqing Hui zhui@codeweavers.com --- dlls/d3dx10_43/tests/d3dx10.c | 3 +- dlls/d3dx10_43/texture.c | 83 ++++++++++++++++++++++++++++++++--- 2 files changed, 78 insertions(+), 8 deletions(-)
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).