mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-09 12:21:31 +11:00
Fix buffer overrun
Was a little too eager zeroing out sh_is_segment[]
This commit is contained in:
parent
dbcffb10db
commit
e16f68d89d
|
@ -133,6 +133,8 @@ void main() {
|
|||
for (uint i = 0; i < N_SLICE; i++) {
|
||||
sh_bitmaps[i][th_ix] = 0;
|
||||
sh_backdrop[i][th_ix] = 0;
|
||||
}
|
||||
if (th_ix < N_SLICE) {
|
||||
sh_is_segment[th_ix] = 0;
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue