From: Brian Date: Thu, 21 Dec 2006 17:49:27 +0000 (-0700) Subject: fix typos X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c155ae1dfed9eaec167a06d341e2b8c8c8ef1730;p=mesa.git fix typos --- 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: