GLSL: texldd-specific arguments need to be cast to vec2.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 24 May 2011 23:24:15 -0400
changeset 1026 7450fe55b177
parent 1025 e3ffb7acae79
child 1027 3fe5609f3620
GLSL: texldd-specific arguments need to be cast to vec2.
mojoshader.c
--- a/mojoshader.c	Tue May 24 23:15:50 2011 -0400
+++ b/mojoshader.c	Tue May 24 23:24:15 2011 -0400
@@ -3122,8 +3122,8 @@
 
         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?