[PATCH 5/5] d3d10/effect: Give a name to value assignment type field.
Matteo Bruni
matteo.mystral at gmail.com
Wed Aug 25 12:39:26 CDT 2021
On Mon, Aug 23, 2021 at 10:24 AM Nikolay Sivov <nsivov at codeweavers.com> wrote:
>
> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
> dlls/d3d10/effect.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
> index ae709b91759..3b3d48c50a8 100644
> --- a/dlls/d3d10/effect.c
> +++ b/dlls/d3d10/effect.c
> @@ -1408,7 +1408,7 @@ static BOOL parse_fx10_state_group(const char *data, size_t data_size,
> const char **ptr, D3D_SHADER_VARIABLE_TYPE container_type, void *container)
> {
> const struct d3d10_effect_state_property_info *property_info;
> - UINT value_offset;
> + UINT value_offset, operation;
> unsigned int i;
> DWORD count;
> UINT idx;
> @@ -1421,7 +1421,7 @@ static BOOL parse_fx10_state_group(const char *data, size_t data_size,
> {
> read_dword(ptr, &id);
> read_dword(ptr, &idx);
> - skip_dword_unknown("read property", ptr, 1);
> + read_dword(ptr, &operation);
> read_dword(ptr, &value_offset);
>
> if (!(property_info = get_property_info(id)))
Is it supposed to be used somehow, eventually?
More information about the wine-devel
mailing list