summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-03-07 01:12:57 +0100
committerMarek Olšák <maraeo@gmail.com>2010-03-07 01:12:57 +0100
commit6f4a19ca562ccd7e4bc2f7ea32263391abaa16bd (patch)
treef350b031d517797a2ce0f09eb1862f5b191ff5e0
parent09653d65e9650c3c04b3e8160b8f2ad7198fc122 (diff)
r300g: abort if FS compilation fails on non-debug builds
-rw-r--r--src/gallium/drivers/r300/r300_fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c
index 3c2625269b8..9e71e61c303 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -207,6 +207,7 @@ static void r300_translate_fragment_shader(
DBG(r300, DBG_FP, "r300: Error compiling fragment program: %s\n",
compiler.Base.ErrorMsg);
assert(0);
+ abort();
}
/* And, finally... */