mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 19:30:26 +01:00
softpipe: fix typo in clear_tile
This commit is contained in:
parent
80c78472ad
commit
c84abe36a9
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue