mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
r300g/swtcl: unlock VBO after draw_flush
https://bugs.freedesktop.org/show_bug.cgi?id=29901 https://bugs.freedesktop.org/show_bug.cgi?id=30132
This commit is contained in:
parent
c40858fa0d
commit
428dc6d7d2
1 changed files with 1 additions and 4 deletions
|
|
@ -754,11 +754,8 @@ static void r300_swtcl_draw_vbo(struct pipe_context* pipe,
|
|||
|
||||
r300->draw_vbo_locked = TRUE;
|
||||
draw_vbo(r300->draw, info);
|
||||
r300->draw_vbo_locked = FALSE;
|
||||
|
||||
/* XXX Not sure whether this is the best fix.
|
||||
* It prevents CS from being rejected and weird assertion failures. */
|
||||
draw_flush(r300->draw);
|
||||
r300->draw_vbo_locked = FALSE;
|
||||
|
||||
for (i = 0; i < r300->vertex_buffer_count; i++) {
|
||||
if (r300->vertex_buffer[i].buffer) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue