softpipe: fix typo in clear_tile

This commit is contained in:
Keith Whitwell
2009-07-29 23:06:22 +01:00
parent 80c78472ad
commit c84abe36a9

View File

@@ -225,7 +225,7 @@ clear_tile(struct softpipe_cached_tile *tile,
switch (pf_get_size(format)) { switch (pf_get_size(format)) {
case 1: case 1:
memset(tile->data.any, 0, TILE_SIZE * TILE_SIZE); memset(tile->data.any, clear_value, TILE_SIZE * TILE_SIZE);
break; break;
case 2: case 2:
if (clear_value == 0) { if (clear_value == 0) {