mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()
authorBrian Paul <brianp@vmware.com>
Fri, 26 Feb 2010 16:03:31 +0000 (09:03 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Feb 2010 16:03:34 +0000 (09:03 -0700)
commitfe25476c04b341d50777b8edd0533f7c838f6361
treef76f7483f50e2c49b666b6c3aa2ce903ce9bd61e
parente215830c38be8ba00257937f5abbb17ec50ae3dc
mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()

The rb->InternalFormat field will be set by the caller if the allocation
succeeds.  Until then, this field's value can't be used.  Fixes a failed
assertion with FlightGear.
src/mesa/main/renderbuffer.c