From 0aab798a1898b52a1d75e6fef4896c951b0afe6a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 Aug 2006 19:09:57 +0000 Subject: replace abort with _mesa_problem() --- src/mesa/shader/slang/slang_execute.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- cgit v1.2.3