mesa: no-op glBufferSubData() on size==0
authorBrian Paul <brianp@vmware.com>
Tue, 9 Nov 2010 19:24:49 +0000 (12:24 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 9 Nov 2010 19:24:51 +0000 (12:24 -0700)
commit6e2e136428b97d2424ebe626a30d7237015f7ea3
tree8844bc05364ac36d5b4cdc63ee4a8f93556642a0
parent61ea76c8da5511d8d3f1fc3ea409ddbef89e7488
mesa: no-op glBufferSubData() on size==0

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31439

NOTE: this is a candidate for the 7.9 branch
src/mesa/main/bufferobj.c