[PATCH] d3dx9: Implement D3DXCreateFragmentLinker/Ex

Matteo Bruni matteo.mystral at gmail.com
Wed Nov 27 04:50:26 CST 2019


On Tue, Nov 26, 2019 at 4:06 AM Alistair Leslie-Hughes
<leslie_alistair at hotmail.com> wrote:

> @@ -6589,4 +6637,6 @@ START_TEST(shader)
>      test_registerset();
>      test_registerset_defaults();
>      test_shader_semantics();
> +    test_fragment_linker();
> +    test_fragment_linker();
>  }

Why run it twice? Also you might want to check
D3DXCreateFragmentLinkerEx() too and explicitly check that the
returned interface is not NULL.
In general, please use the current d3d style (period at the end of
message strings, !count rather than count == 0, no calling the object
"This", proper function TRACEs, ...). Also please use the heap
allocation helpers.

Does the game mentioned in the referenced bug work with this?



More information about the wine-devel mailing list