summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/sct/sct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/sct/sct.c')
-rw-r--r--src/gallium/auxiliary/sct/sct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/sct/sct.c b/src/gallium/auxiliary/sct/sct.c
index 97ee5882a1..5e4126e014 100644
--- a/src/gallium/auxiliary/sct/sct.c
+++ b/src/gallium/auxiliary/sct/sct.c
@@ -209,6 +209,7 @@ remove_context_from_surface(struct sct_surface *si,
}
else {
prev = curr;
+ next = curr->next;
}
}
}