nvc0: use format from the template on surface creation
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 12 Feb 2011 17:50:03 +0000 (18:50 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 16 Feb 2011 14:45:30 +0000 (15:45 +0100)
commitbf1ce9c64b3da731bc6073055abc9f3340ac5a17
tree6a8b1b685abd61eb2c9744d46dfa49c58278bc45
parent1b4c0c8ea0b4e6065f23f9f2bbb954a7bd2549e4
nvc0: use format from the template on surface creation

Fixes piglit/fbo-srgb.
src/gallium/drivers/nvc0/nvc0_miptree.c