diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-09 11:22:29 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-09 11:23:18 +0100 |
commit | 17dde8dbb131a07f4a1109615fa80b60a7857a60 (patch) | |
tree | c7c67f7d9f6c3df641a98ada2315199c90ffacc6 /src/mesa/pipe/tgsi/core | |
parent | 4e517f9b0aed27b49c6050a3d7c279efc625f352 (diff) |
Quieten TGSI
Diffstat (limited to 'src/mesa/pipe/tgsi/core')
-rw-r--r-- | src/mesa/pipe/tgsi/core/tgsi_dump.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/tgsi/core/tgsi_dump.c b/src/mesa/pipe/tgsi/core/tgsi_dump.c index f1773ac908..c3d796afee 100644 --- a/src/mesa/pipe/tgsi/core/tgsi_dump.c +++ b/src/mesa/pipe/tgsi/core/tgsi_dump.c @@ -1277,6 +1277,8 @@ tgsi_dump( tgsi_parse_free( &parse ); - fclose( dump->file ); + if (dump->file != stderr && + dump->file != stdout) + fclose( dump->file ); } |