mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
Print out the info log if compilation fails.
This commit is contained in:
parent
b2ba6fac09
commit
f3eb42d200
1 changed files with 1 additions and 0 deletions
1
main.cpp
1
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue