summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-08-29 19:09:57 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-08-29 19:09:57 +0000
commit0aab798a1898b52a1d75e6fef4896c951b0afe6a (patch)
tree1bf1ecc4bd4f047e92cc2cec90ff2013429cd054 /src
parent8d675aa637a551c634b827b007c18e061d0ae2f6 (diff)
replace abort with _mesa_problem()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_execute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_execute.c b/src/mesa/shader/slang/slang_execute.c
index e5beb509f0..bdf3cee257 100644
--- a/src/mesa/shader/slang/slang_execute.c
+++ b/src/mesa/shader/slang/slang_execute.c
@@ -569,7 +569,8 @@ int _slang_execute2 (const slang_assembly_file *file, slang_machine *mach)
(GLint) (stack[mach->sp]._float) ? "true" : "false");
break;
default:
- assert (0);
+ _mesa_problem(NULL, "bad slang opcode 0x%x", a->type);
+ return 0;
}
}