From the spec: "An INVALID_OPERATION error is generated if any part of the specified range of the buffer bound to
This allows to clear a range of a buffer even if another, non-overlapping range of that buffer is currently mapped.
7ad79c2 arb_clear_buffer_object: Clear partially mapped buffer.
tests/all.py | 1 +
.../spec/arb_clear_buffer_object/CMakeLists.gl.txt | 1 +
tests/spec/arb_clear_buffer_object/sub-mapped.c | 106 ++++++++++++++++++++
3 files changed, 108 insertions(+)
Upstream: cgit.freedesktop.org