Fixed output of POW opcode in GLSL profile. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 08 May 2008 19:33:40 -0400
branchtrunk
changeset 302 e66a62a18cf7
parent 301 cfd2b7ea6796
child 303 1d8a578cc8ec
Fixed output of POW opcode in GLSL profile.
mojoshader.c
--- a/mojoshader.c	Thu May 08 18:17:22 2008 -0400
+++ b/mojoshader.c	Thu May 08 19:33:40 2008 -0400
@@ -2705,7 +2705,7 @@
 {
     const char *src0 = make_GLSL_srcarg_string_masked(ctx, 0);
     const char *src1 = make_GLSL_srcarg_string_masked(ctx, 1);
-    const char *code = make_GLSL_destarg_assign(ctx, "pow(abs(%s), %s))", src0, src1);
+    const char *code = make_GLSL_destarg_assign(ctx, "pow(abs(%s), %s)", src0, src1);
     output_line(ctx, "%s", code);
 } // emit_GLSL_POW