[WINESYNC] d3dx9_36: No need to fail if we don't support vertices reordering in D3DXM...
authorwinesync <ros-dev@reactos.org>
Wed, 5 Feb 2020 21:13:58 +0000 (22:13 +0100)
committerJérôme Gardou <zefklop@users.noreply.github.com>
Wed, 26 Feb 2020 17:19:18 +0000 (18:19 +0100)
commitb7a4b73b6532f41b7ec022d957e521784b799d6f
treee90cd90d0ac214885d8d6a01ccb8c3e4f1c06e54
parente362e098a321c09128d80cc12988f520d6061a84
[WINESYNC] d3dx9_36: No need to fail if we don't support vertices reordering in D3DXMESHOPT_ATTRSORT

A non optimized mesh does not prevent rendering as long as we return valid data to the application.
In our case we provided an identity remapping array when no vertices reordering is done.

Avencast demo works perfectly well (using native effects functions).

wine-staging patch by Christian Costa <titan.costa@gmail.com>
dll/directx/wine/d3dx9_36/mesh.c
sdk/tools/winesync/d3dx9_staging/0022-d3dx9_36__No_need_to_fail_if_we_don_t_support_vertices_reordering_in_D3DXMESHOPT_ATTRSORT.diff [new file with mode: 0644]