Print out the info log if compilation fails.

This commit is contained in:
Kenneth Graunke 2010-06-19 11:31:01 -07:00
parent b2ba6fac09
commit f3eb42d200

View file

@ -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;
}