r300g: Reset vbo_offset after allocation of a new buffer
This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
This commit is contained in:
@@ -86,6 +86,7 @@ static boolean r300_render_allocate_vertices(struct vbuf_render* render,
|
||||
64,
|
||||
PIPE_BUFFER_USAGE_VERTEX,
|
||||
R300_MAX_VBO_SIZE);
|
||||
r300render->vbo_offset = 0;
|
||||
r300render->vbo_size = R300_MAX_VBO_SIZE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user