summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2012-02-06 01:04:28 +0100
committerRoland Scheidegger <[email protected]>2012-02-06 01:04:28 +0100
commit1f4a853b1e4691400ab832c589b044b659c20c06 (patch)
tree0d515889011b4110db0f1b962c3cad706ca9fed2 /src/mesa/main/polygon.c
parentb3c84a80cd7f6d7d6796cb196422c7be44ea47aa (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/mesa/main/polygon.c')
0 files changed, 0 insertions, 0 deletions