Skip to content

Commit

Permalink
[svn] Fixed missing regnum output in D3D profile.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Mar 22, 2008
1 parent 89fa5ce commit c5b07d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mojoshader.c
Expand Up @@ -673,8 +673,8 @@ static char *make_D3D_sourcearg_string(Context *ctx, const int idx)
assert(i < sizeof (swizzle_str));

char *retval = get_scratch_buffer(ctx);
snprintf(retval, SCRATCH_BUFFER_SIZE, "%s%s%s%s",
premod_str, regtype_str, postmod_str, swizzle_str);
snprintf(retval, SCRATCH_BUFFER_SIZE, "%s%s%s%s%s",
premod_str, regtype_str, regnum_str, postmod_str, swizzle_str);
return retval;
} // make_D3D_sourcearg_string

Expand Down

0 comments on commit c5b07d9

Please sign in to comment.