From f3eb42d200bb78afae64af6862e2b12396226707 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 19 Jun 2010 11:31:01 -0700 Subject: [PATCH] Print out the info log if compilation fails. --- main.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2