mirror of
https://github.com/reactos/wine.git
synced 2025-02-03 10:43:30 +00:00
wined3d: Fix a compiler warning.
This commit is contained in:
parent
583be32178
commit
a4f2d3d18e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user