… | |
… | |
2561 | sv_to (data, d->data); memcpy (d->chksum, SvPVbyte_nolen (chksum), CHKSUM_SIZE); |
2561 | sv_to (data, d->data); memcpy (d->chksum, SvPVbyte_nolen (chksum), CHKSUM_SIZE); |
2562 | |
2562 | |
2563 | void invalidate (faceidx idx) |
2563 | void invalidate (faceidx idx) |
2564 | CODE: |
2564 | CODE: |
2565 | for_all_clients (ns) |
2565 | for_all_clients (ns) |
2566 | ns->faces_sent [idx] = 0; |
2566 | ns->faces_sent [idx] = false; |
2567 | |
2567 | |
2568 | void invalidate_all () |
2568 | void invalidate_all () |
2569 | CODE: |
2569 | CODE: |
2570 | for_all_clients (ns) |
2570 | for_all_clients (ns) |
2571 | memset (ns->faces_sent, 0, sizeof (ns->faces_sent)); |
2571 | ns->faces_sent.reset (); |
2572 | |
2572 | |