diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-29 21:17:18 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-29 21:17:18 +0000 |
commit | e998c346471142db91a1bcb6c61551b8247b87e7 (patch) | |
tree | f19188f00f060439a0502e908463e936709a2b37 /src/glut/fbdev/colormap.c | |
parent | ebcedd2d8909cc00d8528d76d3a1990315f270ea (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/glut/fbdev/colormap.c')
0 files changed, 0 insertions, 0 deletions