From: Kenneth Graunke Date: Sat, 19 Jun 2010 18:31:01 +0000 (-0700) Subject: Print out the info log if compilation fails. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3eb42d200bb78afae64af6862e2b12396226707;p=mesa.git Print out the info log if compilation fails. --- diff --git a/main.cpp b/main.cpp index a613334d5cd..a6d6c47bfda 100644 --- a/main.cpp +++ b/main.cpp @@ -222,6 +222,7 @@ main(int argc, char **argv) compile_shader(shader); if (!shader->CompileStatus) { + printf("Info log for %s:\n%s\n", argv[optind], shader->InfoLog); status = EXIT_FAILURE; break; }