st/mesa: remove dependency on _NEW_BUFFER_OBJECT for vertex arrays
authorMarek Olšák <maraeo@gmail.com>
Fri, 26 Apr 2013 12:45:06 +0000 (14:45 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 11 May 2013 21:59:20 +0000 (23:59 +0200)
commitf486c52f9e798ea59582e3a346e8e01980550e0c
treec2579487dc4625428f9bf8089b3906c2d53c7d67
parentb88cebb634d74772fa509f5ca88fb71d397b3d85
st/mesa: remove dependency on _NEW_BUFFER_OBJECT for vertex arrays

_NEW_BUFFER_OBJECT means glBufferData was called. We can just set our own
flag in BufferData.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_array.c
src/mesa/state_tracker/st_cb_bufferobjects.c