wined3d: Use dst_param.reg.idx to index reg_maps->texcoord_mask.

This commit is contained in:
Henri Verbeet 2009-06-30 10:58:14 +02:00 committed by Alexandre Julliard
parent 03702e1de3
commit 02a0614aa1
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct wined3
* shaders because TECRDOUT isn't used in them, but future register types might cause issues */
if (!pshader && shader_version.major < 3 && dst_param.reg.type == WINED3DSPR_TEXCRDOUT)
{
reg_maps->texcoord_mask[dst_param.reg.type] |= dst_param.write_mask;
reg_maps->texcoord_mask[dst_param.reg.idx] |= dst_param.write_mask;
}
else
{