summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_tile_cache.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-21 08:19:00 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:38 +0100
commitd94fbb4a488986185836464ea28629f8d519f6f5 (patch)
treeed9798351334c8e632a5875195a7d9771ad8fdfd /src/gallium/drivers/llvmpipe/lp_tile_cache.c
parent1cb9ce0d2721be7098f1dad39348f8cb65f9a6fc (diff)
llvmpipe: Start hiding llvmpipe_cached_tile.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_tile_cache.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_tile_cache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tile_cache.c b/src/gallium/drivers/llvmpipe/lp_tile_cache.c
index c280cfe3eb..2aa3d09171 100644
--- a/src/gallium/drivers/llvmpipe/lp_tile_cache.c
+++ b/src/gallium/drivers/llvmpipe/lp_tile_cache.c
@@ -330,7 +330,7 @@ lp_flush_tile_cache(struct llvmpipe_tile_cache *tc)
* Get a tile from the cache.
* \param x, y position of tile, in pixels
*/
-struct llvmpipe_cached_tile *
+void *
lp_find_cached_tile(struct llvmpipe_tile_cache *tc,
union tile_address addr )
{
@@ -368,7 +368,8 @@ lp_find_cached_tile(struct llvmpipe_tile_cache *tc,
}
tc->last_tile = tile;
- return tile;
+
+ return tile->data.color;
}