diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-19 11:31:01 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-19 11:44:22 -0700 |
commit | f3eb42d200bb78afae64af6862e2b12396226707 (patch) | |
tree | 374401a885fe1450af510054b4394b2345583aa9 | |
parent | b2ba6fac09df1f06161a7ea1ef1f25bb9fbe8a5a (diff) |
Print out the info log if compilation fails.
-rw-r--r-- | main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |