softpipe: fix crash when accessing null colorbuffer
authorBrian Paul <brianp@vmware.com>
Mon, 20 Jan 2014 15:59:25 +0000 (07:59 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 20 Jan 2014 16:18:21 +0000 (08:18 -0800)
commit3ede8dd5f1096531a080bac6f17f2512bea7bbce
tree57e92dd0639a40f1d92bfeaeac06b97317ab6b51
parent33ae0c24d045e7b5e210785cb9f6a36483fec941
softpipe: fix crash when accessing null colorbuffer

Fixes piglit fbo-missing-attachment-blit test.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73755

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_quad_blend.c