diff options
author | Marek Olšák <[email protected]> | 2013-04-26 01:17:47 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-05-11 23:45:01 +0200 |
commit | 081c789c3e1c6896bd8446d67db4a6740efdf92d (patch) | |
tree | 6682b591c3918757a8f0815a003e65db6aeb23db /src/mesa/state_tracker/st_manager.h | |
parent | db38e9a0e179441f59274f6f2a751912c29872e2 (diff) |
mesa: skip _MaxElement computation unless driver needs strict bounds checking
If Const.CheckArrayBounds is false, the only code using _MaxElement is
glDrawRangeElements, so I changed it and explained in the code why
_MaxElement is not very useful there.
BTW, the big magic number was copied to the letter
from _mesa_update_array_max_element.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_manager.h')
0 files changed, 0 insertions, 0 deletions