diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-07-19 11:52:41 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-07-19 12:32:29 +0900 |
commit | ff26c50153b3a348b35843262ceb27062ab37214 (patch) | |
tree | b3eeb9195144ab2b9f5ba2d93fa7b613318fa526 /src/gallium | |
parent | 1a8ceb3828c64fb758955c85a1d3d06f53f15ed5 (diff) |
tgsi: Make tgsi_sanity return TRUE on success as documented.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_sanity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c index 933127e661..7fc4c29c68 100644 --- a/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c +++ b/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c @@ -266,5 +266,5 @@ tgsi_sanity_check( if (tgsi_iterate_shader( tokens, &ctx.iter ) == -1) return FALSE; - return ctx.errors > 0; + return ctx.errors == 0; } |