glsl2: Print the linking info log in the stand-alone compiler

This commit is contained in:
Ian Romanick
2010-07-02 14:43:01 -07:00
parent de75dfac4e
commit 4d962e66e3
+3
View File
@@ -266,6 +266,9 @@ main(int argc, char **argv)
if ((status == EXIT_SUCCESS) && do_link) {
link_shaders(whole_program);
status = (whole_program->LinkStatus) ? EXIT_SUCCESS : EXIT_FAILURE;
if (strlen(whole_program->InfoLog) > 0)
printf("Info log for linking:\n%s\n", whole_program->InfoLog);
}
talloc_free(whole_program);