summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi/core
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-09 11:22:29 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-09 11:23:18 +0100
commit17dde8dbb131a07f4a1109615fa80b60a7857a60 (patch)
treec7c67f7d9f6c3df641a98ada2315199c90ffacc6 /src/mesa/pipe/tgsi/core
parent4e517f9b0aed27b49c6050a3d7c279efc625f352 (diff)
Quieten TGSI
Diffstat (limited to 'src/mesa/pipe/tgsi/core')
-rw-r--r--src/mesa/pipe/tgsi/core/tgsi_dump.c4
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 );
}