svga: call u_default_redefine_user_buffer() to fix failed assertion
authorBrian Paul <brianp@vmware.com>
Wed, 21 Sep 2011 22:32:00 +0000 (16:32 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 21 Sep 2011 22:32:00 +0000 (16:32 -0600)
commit559a0cd1fc3e8dab27075afa0064c1aebe003d9d
tree4eb1ad4a6a45d7d7149617963765ef45a1558f72
parenta140c3e7837725bfa610c9f842a95201b661c773
svga: call u_default_redefine_user_buffer() to fix failed assertion

This fixes a regression from a8cf4b6acf9ee996090cc0bb95fa3558b481108c

The problem occured when two successive glDrawArrays calls accessed
subsequent elements in user-space arrays.  The user-space array
from the first call wasn't being grown to accomodate the second
draw call's elements.

Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/drivers/svga/svga_resource_buffer_upload.c