mesa: Cope with the degenerate case of zero length ranges.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 3 Jan 2010 19:58:54 +0000 (19:58 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 3 Jan 2010 20:00:19 +0000 (20:00 +0000)
commiteb5d9e6f70037d4dc12430302f82a116cb1e00ca
treeb04fb32ec867d975101faeded3a62f266580ab5e
parentf3739bdb60edc051348526d469d5222bb6934917
mesa: Cope with the degenerate case of zero length ranges.

Fixes assertion failures on glean's bufferObject test.
src/mesa/state_tracker/st_cb_bufferobjects.c