summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c
index f468a8cbc22..8f924739b49 100644
--- a/src/mesa/shader/slang/slang_link.c
+++ b/src/mesa/shader/slang/slang_link.c
@@ -570,7 +570,7 @@ _slang_link(GLcontext *ctx,
#if 1
printf("************** original vertex program\n");
_mesa_print_program(&vertProg->Base);
- _mesa_print_program_parameters(ctx, &fragProg->Base);
+ _mesa_print_program_parameters(ctx, &vertProg->Base);
#endif
#if 1
printf("************** linked vertex prog\n");