wined3d: Check BLENDWEIGHT and BLENDINDICES FFP attributes for fixups.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8d6ea0ea02
commit
dcaf944e35
|
@ -381,6 +381,10 @@ static BOOL buffer_find_decl(struct wined3d_buffer *This, const struct wined3d_s
|
||||||
fixup_flags, &stride_this_run) || ret;
|
fixup_flags, &stride_this_run) || ret;
|
||||||
fixup_flags &= ~WINED3D_BUFFER_FIXUP_XYZRHW;
|
fixup_flags &= ~WINED3D_BUFFER_FIXUP_XYZRHW;
|
||||||
|
|
||||||
|
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_BLENDWEIGHT,
|
||||||
|
fixup_flags, &stride_this_run) || ret;
|
||||||
|
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_BLENDINDICES,
|
||||||
|
fixup_flags, &stride_this_run) || ret;
|
||||||
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_NORMAL,
|
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_NORMAL,
|
||||||
fixup_flags, &stride_this_run) || ret;
|
fixup_flags, &stride_this_run) || ret;
|
||||||
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_DIFFUSE,
|
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_DIFFUSE,
|
||||||
|
|
Loading…
Reference in New Issue