i965: Also flush the vertex buffer when restarting the array.
As a corollary to filling one vertex array and beginning a new one is remembering to emit the old one before overwriting... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
f40f8bcf07
commit
8450aba6c7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue