[WINESYNC]d3dx9_36: No need to fail if we don't support vertices reordering in D3DXME...
authorwinesync <ros-dev@reactos.org>
Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)
committerJérôme Gardou <zefklop@users.noreply.github.com>
Wed, 26 Feb 2020 17:19:18 +0000 (18:19 +0100)
commitafac88c50e1e30fc5d4cd9b63521849e57568747
tree4d31604a03cdb360efe6ad1ceaaf77e2955d90f2
parentf6c4f5e79cf47274f43ab685565ae9dd10b6b300
[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]