summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2006-12-21 10:49:27 -0700
committerBrian <[email protected]>2006-12-21 10:49:27 -0700
commitc155ae1dfed9eaec167a06d341e2b8c8c8ef1730 (patch)
tree287a93998e5e7468654f7fbaf0929e695b938586 /src/mesa
parenta0d6b506cdb1faa74d53fcb9d93de49985bc3e95 (diff)
fix typos
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/slang_emit.c4
1 files 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: