st/mesa: Validate state before doing blits.
authorHenri Verbeet <hverbeet@gmail.com>
Wed, 23 Mar 2011 20:58:06 +0000 (21:58 +0100)
committerHenri Verbeet <hverbeet@gmail.com>
Sun, 27 Mar 2011 13:01:59 +0000 (15:01 +0200)
commit5d7c27f5ec2f30c264dc2d53c4980970b3a13ee5
tree15e84833defb7e49486a63c9bdf1caae543cfabd
parent244a3bbf14ef4f739e7f3be298c8613a2667fce0
st/mesa: Validate state before doing blits.

Specifically, this ensures things like the front buffer actually exist. This
fixes piglt fbo/fbo-sys-blit and fd.o bug 35483.

Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
src/mesa/state_tracker/st_cb_blit.c