Hello Austin,
On Tue, Jun 23, 2009 at 12:47:18AM -0500, Austin English wrote:
Okay'ed by Henri
are you reinventing strcpy?
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 44b4fce..f759372 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -922,11 +922,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]);
sprintf(register_name, "%s", ctx->texcrd_output[reg->idx]); } else {
sprintf(register_name, ctx->vs_output[reg->idx]);
sprintf(register_name, "%s", ctx->vs_output[reg->idx]); } } break;
bye michael