summaryrefslogtreecommitdiff
path: root/src/i965_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i965_render.c')
-rw-r--r--src/i965_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index 659e2d14..75b6eb61 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -1843,6 +1843,7 @@ i965_composite(PixmapPtr dest, int srcX, int srcY, int maskX, int maskY,
}
if (intel->floats_per_vertex != intel->last_floats_per_vertex ||
intel_vertex_space(intel) < 3*4*intel->floats_per_vertex) {
+ i965_vertex_flush(intel);
intel_next_vertex(intel);
i965_select_vertex_buffer(intel);
intel->vertex_index = 0;