d3dx9: Don't always fail if an ID3DXAnimationController pointer is passed to D3DXLoad...
commit418a7c6c7316f3803c38b1e2b6bdfe4a5347b7f5
authorAlistair Leslie-Hughes <leslie_alistair@hotmail.com>
Thu, 29 Oct 2015 23:52:30 +0000 (30 00:52 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 3 Nov 2015 12:49:21 +0000 (3 21:49 +0900)
tree6e0b669f6c8eb4998bcccc41db1b3470ca6eb9e0
parent3d58c354ae1be7567e1571af96d0c92864e31a02
d3dx9: Don't always fail if an ID3DXAnimationController pointer is passed to D3DXLoadMeshHierarchyFromXInMemory.

D3DXLoadMeshHierarchyFromXInMemory will only return an AnimationController
when the xfile has an AnimationSet.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3dx9_36/mesh.c
dlls/d3dx9_36/tests/mesh.c