util: set all unused cbufs to NULL in util_copy_framebuffer_state()
authorBrian Paul <brianp@vmware.com>
Thu, 7 Nov 2013 23:59:40 +0000 (16:59 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 11 Nov 2013 15:12:18 +0000 (08:12 -0700)
commitdc21b36daf9037f0747071e124b73f48ea5ff117
tree1f248dd77ecd3c83feba9f697944a587eec89175
parent944eebbdb4ea9dd8283f83ade01110be9bf2bba7
util: set all unused cbufs to NULL in util_copy_framebuffer_state()

This helps fix an issue in the svga driver, and is just safer all-around.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/util/u_framebuffer.c