diff options
author | Roland Scheidegger <[email protected]> | 2012-02-06 01:04:28 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2012-02-06 01:04:28 +0100 |
commit | 1f4a853b1e4691400ab832c589b044b659c20c06 (patch) | |
tree | 0d515889011b4110db0f1b962c3cad706ca9fed2 /src/glsl/test.cpp | |
parent | b3c84a80cd7f6d7d6796cb196422c7be44ea47aa (diff) |
mesa: check_index_bounds off-by-one fix
in check_index_bounds the comparison needs to be "greater equal" since
contrary to the name _MaxElement is the count of the array (this matches
similar code in vbo_exec_DrawRangeElementsBaseVertex).
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/test.cpp')
0 files changed, 0 insertions, 0 deletions