diff options
author | Paul Berry <[email protected]> | 2011-12-08 11:23:22 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-12-20 14:32:16 -0800 |
commit | 38b118d49ddbc8bd5d96cc0d23d681887fca045e (patch) | |
tree | 3cf12003ff9d9fb36b2c65234d8c59c017f3ad7c /src/glsl/ir_visitor.h | |
parent | 942d452047431f7463d3fad5e7cb92dfd81fd0ac (diff) |
mesa: Fix off-by-one error in transform feedback size check.
In _mesa_BindBufferRange(), we need to verify that the offset and size
specified by the client do not exceed the size of the underlying
buffer. We were accidentally doing this check using ">=" rather than
">", so we were generating a bogus error if the client specified an
offset and size that fit exactly in the underlying buffer.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_visitor.h')
0 files changed, 0 insertions, 0 deletions