intel: Check for a NULL src buffer prior to blt
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Aug 2010 07:37:31 +0000 (08:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Aug 2010 07:39:15 +0000 (08:39 +0100)
commit66708fd8a98cc28dab756b9e29d026194ccdfcee
tree826ac55395dd3c4f8194dc62592eced59f9fc817
parent85cfe321805264686ef8989e45a911a999ed928a
intel: Check for a NULL src buffer prior to blt

This can only happen along a malloc failure path, but check anyway.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/intel/intel_tex_copy.c