summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_prim_vbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_prim_vbuf.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_prim_vbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_prim_vbuf.c b/src/mesa/pipe/softpipe/sp_prim_vbuf.c
index b76405f179..0ab8a55d7d 100644
--- a/src/mesa/pipe/softpipe/sp_prim_vbuf.c
+++ b/src/mesa/pipe/softpipe/sp_prim_vbuf.c
@@ -74,6 +74,7 @@ sp_vbuf_get_vertex_info(struct vbuf_render *vbr)
{
struct softpipe_vbuf_render *cvbr = softpipe_vbuf_render(vbr);
/* XXX check for state changes? */
+ assert(!cvbr->softpipe->dirty );
return &cvbr->softpipe->vertex_info;
}