summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-07-29 23:06:22 +0100
committerKeith Whitwell <[email protected]>2009-08-18 16:55:10 +0100
commitc84abe36a93312cfa061ce1bd005e43eb9f6a6df (patch)
tree5af7ce3c392912889fc5ddc931bc73bc7b9af67b /src
parent80c78472ad43f4288c9ef5076074ba9d31a39885 (diff)
softpipe: fix typo in clear_tile
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_tile_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tile_cache.c b/src/gallium/drivers/softpipe/sp_tile_cache.c
index 2d82badcec3..c520aef44fa 100644
--- a/src/gallium/drivers/softpipe/sp_tile_cache.c
+++ b/src/gallium/drivers/softpipe/sp_tile_cache.c
@@ -225,7 +225,7 @@ clear_tile(struct softpipe_cached_tile *tile,
switch (pf_get_size(format)) {
case 1:
- memset(tile->data.any, 0, TILE_SIZE * TILE_SIZE);
+ memset(tile->data.any, clear_value, TILE_SIZE * TILE_SIZE);
break;
case 2:
if (clear_value == 0) {