From: José Fonseca Date: Sat, 19 Jul 2008 02:52:41 +0000 (+0900) Subject: tgsi: Make tgsi_sanity return TRUE on success as documented. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff26c50153b3a348b35843262ceb27062ab37214;p=mesa.git tgsi: Make tgsi_sanity return TRUE on success as documented. --- diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/util/tgsi_sanity.c index 933127e661b..7fc4c29c685 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; }