softpipe: fix set_framebuffer_state with uninitialized surfaces past nr_cbufs-1
authorMarek Olšák <maraeo@gmail.com>
Wed, 12 Sep 2012 22:46:54 +0000 (00:46 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 30 Sep 2012 16:57:56 +0000 (18:57 +0200)
commitc15dbd7ef2d60bcab3d1914f8e19fde3e966694e
tree5134796858ff1af673aa4e480862b962f6863696
parent0615e8324ca949a5f86614e727122bfb2f230135
softpipe: fix set_framebuffer_state with uninitialized surfaces past nr_cbufs-1

Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_state_surface.c