summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/vtxfmt.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-10-29 21:17:18 +0000
committerBrian Paul <[email protected]>2006-10-29 21:17:18 +0000
commite998c346471142db91a1bcb6c61551b8247b87e7 (patch)
treef19188f00f060439a0502e908463e936709a2b37 /src/mesa/main/vtxfmt.c
parentebcedd2d8909cc00d8528d76d3a1990315f270ea (diff)
Rather than always allocating 100 instructions, put instructions into a
temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions.
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
0 files changed, 0 insertions, 0 deletions