wined3d: Fix a compiler warning.

This commit is contained in:
Austin English 2009-06-23 21:58:22 -05:00 committed by Alexandre Julliard
parent 583be32178
commit a4f2d3d18e

View File

@ -928,11 +928,11 @@ static void shader_arb_get_register_name(const struct wined3d_shader_instruction
{
if(This->baseShader.reg_maps.shader_version.major < 3)
{
sprintf(register_name, ctx->texcrd_output[reg->idx]);
strcpy(register_name, ctx->texcrd_output[reg->idx]);
}
else
{
sprintf(register_name, ctx->vs_output[reg->idx]);
strcpy(register_name, ctx->vs_output[reg->idx]);
}
}
break;