projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ba6fa
)
Print out the info log if compilation fails.
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 19 Jun 2010 18:31:01 +0000
(11:31 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 19 Jun 2010 18:44:22 +0000
(11:44 -0700)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index a613334d5cd20349de49f1363361d27caa908997..a6d6c47bfda9a0ed7188f31f92765aadf7ea8df4 100644
(file)
--- 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;
}