summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_tile_cache.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-10 08:16:31 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:27 +0100
commit2101c2941c1ff3ae7f3f587e6e9921ed336ce17c (patch)
tree76c5ac8787c0d3b052c85f5746c2d68bf3d1f807 /src/gallium/drivers/llvmpipe/lp_tile_cache.c
parent3ce1abf950b7175d65a32fb9d182561a9d3d57f7 (diff)
llvmpipe: Tiles in rgba8 format.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_tile_cache.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_tile_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tile_cache.c b/src/gallium/drivers/llvmpipe/lp_tile_cache.c
index 65b62c44dc..28be365902 100644
--- a/src/gallium/drivers/llvmpipe/lp_tile_cache.c
+++ b/src/gallium/drivers/llvmpipe/lp_tile_cache.c
@@ -221,7 +221,7 @@ clear_tile_rgba(struct llvmpipe_cached_tile *tile,
for (i = 0; i < 4; ++i)
for (y = 0; y < TILE_SIZE; y++)
for (x = 0; x < TILE_SIZE; x++)
- tile->data.color[i][y][x] = clear_value[i];
+ tile->data.color[i][y][x] = float_to_ubyte(clear_value[i]);
}
}