mesa: Fix handling of glCopyBufferSubData() for src == dst.
authorEric Anholt <eric@anholt.net>
Thu, 26 Jan 2012 00:29:28 +0000 (16:29 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 19:44:31 +0000 (11:44 -0800)
commit531e44415b078db105d0439ea90b3ea3bc3b0f7b
treedb675a93a09b45a9275274e1095a7b62bae50196
parent42e9936ce6bcac9f863b2f85978489e4f804e927
mesa: Fix handling of glCopyBufferSubData() for src == dst.

Fixes piglit ARB_copy_buffer-overlap, on swrast, which previously
assertion failed.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/bufferobj.c