llvmpipe: guard against NULL task->query pointer
authorKeith Whitwell <keithw@vmware.com>
Tue, 2 Nov 2010 12:05:46 +0000 (12:05 +0000)
committerKeith Whitwell <keithw@vmware.com>
Tue, 2 Nov 2010 16:48:10 +0000 (16:48 +0000)
commitdebcb434891756573ed2dc102ad1b673a8dce7da
tree5286bfab01244685ccc503d4d91662701967c0ff
parent98445b43071414a6bd82d0618002611c6ad70257
llvmpipe: guard against NULL task->query pointer

This doesn't seem like it should be possible, but some test suites
manage to hit this case.  Avoid crashing release builds under those
circumstances.
src/gallium/drivers/llvmpipe/lp_rast.c