diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-05-09 13:11:48 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-05-09 13:11:48 +0100 |
commit | 2f9b1b9cc20f079cb46bbbcc9db09880070e4de9 (patch) | |
tree | a0f00b9b9ea5e47549ca4e56fcc66464a3a752d3 /src/gallium/auxiliary/draw/draw_pt_fetch_emit.c | |
parent | 54777e124c38812e5e80319048b6c71009bcf9dd (diff) | |
parent | 1a03812fb57e956b438cd42ac68978facb49a99d (diff) |
Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch_emit.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_emit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c index a4de341df8..b7b970a297 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c @@ -174,8 +174,9 @@ static void fetch_emit_prepare( struct draw_pt_middle_end *middle, /* Don't bother with caching at this stage: */ if (!feme->translate || - memcmp(&feme->translate->key, &key, sizeof(key)) != 0) + translate_key_compare(&feme->translate->key, &key) != 0) { + translate_key_sanitize(&key); feme->translate = translate_cache_find(feme->cache, &key); |