[v3 1/2] d3dx9: Implement IsParameterUsed function in effect.

Matteo Bruni matteo.mystral at gmail.com
Mon May 30 16:23:45 CDT 2016


2016-05-26 20:18 GMT+02:00 Paul Gofman <gofmanp at gmail.com>:
> +static BOOL walk_parameter_dep(struct d3dx_parameter *param, walk_parameter_dep_func param_func,
> +        void *data);
> +
> +static BOOL walk_param_eval_dep(struct d3dx_param_eval *param_eval, walk_parameter_dep_func param_func,
> +        void *data)
> +{

Depending on what you will do with the other planned use, it might
make sense to specialize these functions for the only use case you
have at the moment, simplifying (e.g. dropping the callback) and
renaming (e.g. is_param_eval_param_used() - a name that shows what you
expect from these functions) them in the process.



More information about the wine-devel mailing list