summaryrefslogtreecommitdiff
path: root/src/ui/visbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/visbuf.c')
-rw-r--r--src/ui/visbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/visbuf.c b/src/ui/visbuf.c
index 64d861c6..8a66c300 100644
--- a/src/ui/visbuf.c
+++ b/src/ui/visbuf.c
@@ -37,6 +37,7 @@ void deinit_VisBuf(iVisBuf *d) {
37 37
38void invalidate_VisBuf(iVisBuf *d) { 38void invalidate_VisBuf(iVisBuf *d) {
39 iForIndices(i, d->buffers) { 39 iForIndices(i, d->buffers) {
40 d->buffers[i].origin = i * d->texSize.y;
40 iZap(d->buffers[i].validRange); 41 iZap(d->buffers[i].validRange);
41 } 42 }
42} 43}