From: Keith Whitwell Date: Thu, 1 May 2008 17:48:28 +0000 (+0100) Subject: sct: fix bug in remove_context_from_surface X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0000792a2006a2c8fde1b54d070490a625fb8435;p=mesa.git sct: fix bug in remove_context_from_surface --- diff --git a/src/gallium/auxiliary/sct/sct.c b/src/gallium/auxiliary/sct/sct.c index 97ee5882a16..5e4126e014d 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; } } }