diff options
author | Vinson Lee <[email protected]> | 2012-08-07 00:13:41 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-08-07 22:34:28 -0700 |
commit | 7528e2104fdda88a9eca5d84d979a21f5c517dc9 (patch) | |
tree | a5aa609b63e102656878f565e6702754ae61f018 | |
parent | 1ea263fccb9259218addec9e805db075be9eba7c (diff) |
translate: Fix typo in is_legal_int_format_combo.
Fixes same on both sides defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/translate/translate_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/translate/translate_generic.c b/src/gallium/auxiliary/translate/translate_generic.c index 0b6ebf5dabe..72099af6a9d 100644 --- a/src/gallium/auxiliary/translate/translate_generic.c +++ b/src/gallium/auxiliary/translate/translate_generic.c @@ -773,7 +773,7 @@ is_legal_int_format_combo( const struct util_format_description *src, for (i = 0; i < nr; i++) { /* The signs must match. */ - if (src->channel[i].type != src->channel[i].type) { + if (src->channel[i].type != dst->channel[i].type) { return FALSE; } |