softpipe: fix typo in clear_tile
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user