mesa: dynamically grow the fixed function vertex program as needed
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Aug 2008 21:11:04 +0000 (15:11 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 28 Aug 2008 21:11:04 +0000 (15:11 -0600)
commitcacf5f21efcbf0ddde90bf8b7fc2b9ba1873302e
tree0796449a0694f5ee25ec3856a33f3a6da465f3da
parent5048457372898a30478e33e66658277f5cead759
mesa: dynamically grow the fixed function vertex program as needed

Don't use a fixed-size array.  Saves memory in most cases and avoids
potential overflow for long programs.
src/mesa/main/ffvertex_prog.c