llvmpipe: Fix fence wait.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 6 May 2010 20:33:01 +0000 (21:33 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 6 May 2010 20:38:06 +0000 (21:38 +0100)
commit680071502ffe54c96ef9f458a9e1c668bb27fe76
tree8497bfdb12bb185c8ab857f366954150f08fb4f1
parentc37d8259bb26a97689d66b49456a7a13fac26a63
llvmpipe: Fix fence wait.

Avoids crashing when fence is NULL (LP_NUM_THREADS=0) and leaking when
it is not.
src/gallium/drivers/llvmpipe/lp_query.c