From: Keith Whitwell Date: Wed, 29 Jul 2009 22:06:22 +0000 (+0100) Subject: softpipe: fix typo in clear_tile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c84abe36a93312cfa061ce1bd005e43eb9f6a6df;p=mesa.git softpipe: fix typo in clear_tile --- 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) {