Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
GLSL: texldd-specific arguments need to be cast to vec2.
  • Loading branch information
icculus committed May 25, 2011
1 parent 0e4cba2 commit 3614872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mojoshader.c
Expand Up @@ -3122,8 +3122,8 @@ static void glsl_texld(Context *ctx, const int texldd)

if (texldd)
{
make_GLSL_srcarg_string_full(ctx, 2, src2, sizeof (src2));
make_GLSL_srcarg_string_full(ctx, 3, src3, sizeof (src3));
make_GLSL_srcarg_string_vec2(ctx, 2, src2, sizeof (src2));
make_GLSL_srcarg_string_vec2(ctx, 3, src3, sizeof (src3));
} // if

// !!! FIXME: can TEXLDD set instruction_controls?
Expand Down

0 comments on commit 3614872

Please sign in to comment.