st/mesa: add a simple path to BufferData if it only discards buffer contents
authorMarek Olšák <maraeo@gmail.com>
Sun, 14 Apr 2013 21:28:36 +0000 (23:28 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 24 Apr 2013 01:23:23 +0000 (03:23 +0200)
commit5649f886f76023532538b8792605a3578cec1ed1
tree39cbe4504df8d243e2b8dd4f9c9ad41210979549
parentd23c7455ae218a522d4a03829a7a7cafa94f6e94
st/mesa: add a simple path to BufferData if it only discards buffer contents

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