diff options
Diffstat (limited to 'src/sna/gen4_render.c')
-rw-r--r-- | src/sna/gen4_render.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c index a27d3e4a..e1f45281 100644 --- a/src/sna/gen4_render.c +++ b/src/sna/gen4_render.c @@ -2789,6 +2789,10 @@ static void gen4_render_reset(struct sna *sna) DBG(("%s: discarding unmappable vbo\n", __FUNCTION__)); discard_vbo(sna); } + + sna->render.vertex_offset = 0; + sna->render.nvertex_reloc = 0; + sna->render.vb_id = 0; } static void gen4_render_fini(struct sna *sna) |