sct: fix bug in remove_context_from_surface
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 17:48:28 +0000 (18:48 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 19:49:44 +0000 (20:49 +0100)
src/gallium/auxiliary/sct/sct.c

index 97ee5882a16e0bb3214726882aea7e737478826a..5e4126e014df93538a673cad29666b8fc1fdb134 100644 (file)
@@ -209,6 +209,7 @@ remove_context_from_surface(struct sct_surface *si,
       }
       else {
          prev = curr;
+         next = curr->next;
       }
    }
 }