mesa: use malloc instead of MAX_WIDTH array in glReadPixels()
authorBrian Paul <brianp@vmware.com>
Tue, 6 Dec 2011 03:40:48 +0000 (20:40 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Dec 2011 15:56:31 +0000 (08:56 -0700)
commitbf6aac24c1d77979280068787b5443dd5c049269
tree2bf0e223d94ed500cce94dccae6a2d33865a0661
parent1614de4045c36ab6ec060e3bd0d1f3394d05b91e
mesa: use malloc instead of MAX_WIDTH array in glReadPixels()

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/readpix.c