glsl/builtins: Actually print the info log if reading a builtin failed.

This commit is contained in:
Kenneth Graunke
2010-09-04 00:49:23 -07:00
parent 7a830ac49f
commit a7dc8081b6
@@ -153,6 +153,7 @@ read_builtins(GLenum target, const char *protos, const char **functions, unsigne
if (st->error) {
printf("error reading builtin: %.35s ...\\n", functions[i]);
printf("Info log:\\n%s\\n", st->info_log);
talloc_free(sh);
return NULL;
}