Revert "st/mesa: add a simple path to BufferData if it only discards buffer contents"
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Apr 2013 14:12:26 +0000 (15:12 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 29 Apr 2013 14:13:57 +0000 (15:13 +0100)
commitc4bea00fb39fb1813d220b95f0bc94e6fce8c84a
tree100559ebaca9e03e41383e15ba34cbc75457df05
parentc7a13dc5f530783e2ec22af2e1d7206b4754da48
Revert "st/mesa: add a simple path to BufferData if it only discards buffer contents"

This reverts commit 5649f886f76023532538b8792605a3578cec1ed1.

It causes segfaults when size is zero.
src/mesa/state_tracker/st_cb_bufferobjects.c