glsl2 main: Use talloc to allocate whole_program struct.
authorCarl Worth <cworth@cworth.org>
Wed, 23 Jun 2010 20:34:05 +0000 (13:34 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 23 Jun 2010 23:18:13 +0000 (16:18 -0700)
commitbe83eb8671e7789cbe5ca1fc8d3f5d133e2e7014
treeea2f0be29d73120d1189846279d7713ec883fd6d
parent4b2d32b5b5864869419a88d194b740bc0ec211e8
glsl2 main: Use talloc to allocate whole_program struct.

This way, whole_program can be our top-level talloc context object,
allowing us to free the lot with a single talloc_free in the end.
main.cpp