diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-03-27 22:25:13 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-03-27 22:28:25 +0100 |
commit | 4b8d3480764daf45cbbc03d76cd8b7c81937f532 (patch) | |
tree | ac0576eefd2d73e8e863b3c69bb0a75088278693 /src/gallium/drivers/r300/r300_vs.c | |
parent | 0a82fadcdd0b6ebbc345c7c302da0e0efce40a98 (diff) | |
download | external_mesa3d-4b8d3480764daf45cbbc03d76cd8b7c81937f532.zip external_mesa3d-4b8d3480764daf45cbbc03d76cd8b7c81937f532.tar.gz external_mesa3d-4b8d3480764daf45cbbc03d76cd8b7c81937f532.tar.bz2 |
r300g: print errors even on non-debug builds
We really need to get these into bug reports.
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_vs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c index bd6b95d..d5690ca 100644 --- a/src/gallium/drivers/r300/r300_vs.c +++ b/src/gallium/drivers/r300/r300_vs.c @@ -299,7 +299,7 @@ void r300_translate_vertex_shader(struct r300_context* r300, r3xx_compile_vertex_program(&compiler); if (compiler.Base.Error) { /* XXX We should fallback using Draw. */ - fprintf(stderr, "r300 VP: Compiler error\n"); + fprintf(stderr, "r300 VP: Compiler error:\n%s", compiler.Base.ErrorMsg); abort(); } |