intel: Protect against waiting on a NULL render target bo
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Feb 2011 10:12:37 +0000 (10:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Feb 2011 10:12:37 +0000 (10:12 +0000)
commita2029a78c39427f9bd7e24bbe5a5ff124f9d446b
tree42e792ad4afba90838fad969845a685f74a3fcce
parent69d969e8fafd3357a140072f0f4bbf0f28db9769
intel: Protect against waiting on a NULL render target bo

If we fall back to software rendering due to the render target being
absent (GPU hang or other error in creating the named target), then we
do not need to nor should we wait upon the results.

Reported-by: Magnus Kessler <Magnus.Kessler@gmx.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34656
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/intel/intel_context.c