diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-07-29 23:06:22 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-08-18 16:55:10 +0100 |
commit | c84abe36a93312cfa061ce1bd005e43eb9f6a6df (patch) | |
tree | 5af7ce3c392912889fc5ddc931bc73bc7b9af67b /src/gallium | |
parent | 80c78472ad43f4288c9ef5076074ba9d31a39885 (diff) |
softpipe: fix typo in clear_tile
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tile_cache.c | 2 |
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 2d82badcec..c520aef44f 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) { |