diff options
author | Ian Romanick <[email protected]> | 2005-11-30 00:06:48 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2005-11-30 00:06:48 +0000 |
commit | 5910dfacf100f3748a732cc262a7913e2922016e (patch) | |
tree | a11d3fbc31f5f11088b8b38840bcc7822883f3e5 /doxygen/math.doxy | |
parent | 96f216565e09032021bafa7a805aa7707777fda1 (diff) |
This is a major re-work of the __indirect_glInterleavedArrays routine. The
big, ugly, error prone switch-statement is replaced with a compact table.
I also added numerous comments, including a comment explaining how the
format parameter is validated.
Explicitly pass GL_FLOAT as the type in the cases where that is the only
possible value (e.g., everywhere except the call to glColorPointer).
Validate that stride is >= 0.
Tested with all modes (including the two error modes) of
progs/tests/interleave.c.
Bug: #5001, #5058
Reviewed by: Brian Paul
Diffstat (limited to 'doxygen/math.doxy')
0 files changed, 0 insertions, 0 deletions