summaryrefslogtreecommitdiff
path: root/src/mesa/main/texcompress_fxt1.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-11-30 00:06:48 +0000
committerIan Romanick <idr@us.ibm.com>2005-11-30 00:06:48 +0000
commit5910dfacf100f3748a732cc262a7913e2922016e (patch)
treea11d3fbc31f5f11088b8b38840bcc7822883f3e5 /src/mesa/main/texcompress_fxt1.c
parent96f216565e09032021bafa7a805aa7707777fda1 (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 'src/mesa/main/texcompress_fxt1.c')
0 files changed, 0 insertions, 0 deletions