[v2 3/7] d3dx9: Avoid casting each value separately in set_constants().

Matteo Bruni matteo.mystral at gmail.com
Tue Jun 13 18:58:06 CDT 2017


2017-06-12 13:22 GMT+02:00 Paul Gofman <gofmanp at gmail.com>:

> +static void pres_float_to_int(const void *in, void *out, unsigned int count)

Something I forgot earlier and maybe it's bikeshedding, but anyway:
could you flip those functions around like e.g. pres_int_from_float()?
The "out" argument should also be swapped with "in".

Patch looks good otherwise.



More information about the wine-devel mailing list