summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_tex_cache.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2009-12-02 02:08:26 +0100
committerRoland Scheidegger <sroland@vmware.com>2009-12-02 02:08:26 +0100
commitc78748a5274e58bcbb122923edf81065be9bbe16 (patch)
tree9b22e49cfb1a1edb1a1acfd086245fbd8ac83b2b /src/gallium/drivers/llvmpipe/lp_tex_cache.c
parentdecf6ed810eae473d043a4a399a5a84f1378a725 (diff)
gallium: adapt drivers to interface cleanups
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_tex_cache.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_tex_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tex_cache.c b/src/gallium/drivers/llvmpipe/lp_tex_cache.c
index c7c4143bc6..5dbc597d2c 100644
--- a/src/gallium/drivers/llvmpipe/lp_tex_cache.c
+++ b/src/gallium/drivers/llvmpipe/lp_tex_cache.c
@@ -291,7 +291,7 @@ lp_find_cached_tex_tile(struct llvmpipe_tex_tile_cache *tc,
assert(0);
}
- util_format_read_4ub(tc->tex_trans->format,
+ util_format_read_4ub(tc->tex_trans->texture->format,
(uint8_t *)tile->color, sizeof tile->color[0],
tc->tex_trans_map, tc->tex_trans->stride,
x, y, w, h);