Commit a4f2d3d1 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

wined3d: Fix a compiler warning.

parent 583be321
...@@ -928,11 +928,11 @@ static void shader_arb_get_register_name(const struct wined3d_shader_instruction ...@@ -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) 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 else
{ {
sprintf(register_name, ctx->vs_output[reg->idx]); strcpy(register_name, ctx->vs_output[reg->idx]);
} }
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment