wined3d: Properly check if an attribute is used in transform_texture().
This commit is contained in:
parent
3dc677cc63
commit
6ef17134d2
|
@ -3099,7 +3099,7 @@ static void transform_texture(DWORD state, IWineD3DStateBlockImpl *stateblock, s
|
||||||
|
|
||||||
set_texture_matrix(&stateblock->transforms[WINED3DTS_TEXTURE0 + texUnit].u.m[0][0],
|
set_texture_matrix(&stateblock->transforms[WINED3DTS_TEXTURE0 + texUnit].u.m[0][0],
|
||||||
stateblock->textureState[texUnit][WINED3DTSS_TEXTURETRANSFORMFLAGS], generated, context->last_was_rhw,
|
stateblock->textureState[texUnit][WINED3DTSS_TEXTURETRANSFORMFLAGS], generated, context->last_was_rhw,
|
||||||
stateblock->wineD3DDevice->strided_streams.elements[WINED3D_FFP_TEXCOORD0 + coordIdx].stride
|
stateblock->wineD3DDevice->strided_streams.use_map & (1 << (WINED3D_FFP_TEXCOORD0 + coordIdx))
|
||||||
? stateblock->wineD3DDevice->strided_streams.elements[WINED3D_FFP_TEXCOORD0 + coordIdx].format_desc->format
|
? stateblock->wineD3DDevice->strided_streams.elements[WINED3D_FFP_TEXCOORD0 + coordIdx].format_desc->format
|
||||||
: WINED3DFMT_UNKNOWN,
|
: WINED3DFMT_UNKNOWN,
|
||||||
stateblock->wineD3DDevice->frag_pipe->ffp_proj_control);
|
stateblock->wineD3DDevice->frag_pipe->ffp_proj_control);
|
||||||
|
|
Loading…
Reference in New Issue