From c155ae1dfed9eaec167a06d341e2b8c8c8ef1730 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 21 Dec 2006 10:49:27 -0700 Subject: [PATCH] fix typos --- src/mesa/shader/slang/slang_emit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index cc522131cef..2b631a3b722 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -963,7 +963,7 @@ emit_negation(slang_gen_context *gc, slang_ir_node *n, struct gl_program *prog) inst->Comment = n->Comment; return inst; -#endif +#else /* XXX this is something we can optimize for, with a bit of work.*/ abort(); return NULL; @@ -1120,7 +1120,7 @@ emit(slang_gen_context *gc, slang_ir_node *n, struct gl_program *prog) case IR_COS: return emit_unop(gc, n, prog); case IR_NEG: - return emit_negation(gc, n, prog): + return emit_negation(gc, n, prog); case IR_LABEL: return emit_label(n->Target, prog); case IR_FLOAT: -- 2.30.2