summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-03-25 16:04:40 -0600
committerBrian Paul <[email protected]>2010-03-25 16:10:25 -0600
commit67e377bda6431b613836fdc04680a49b75e4b751 (patch)
treed718e6a7394659a4d28fe6336dc3581b323d7c6f
parenta82e37b9e9e34175b7542d0c9b4e462833eab202 (diff)
llvmpipe: disable an assertion
We shouldn't try to clear a non-existant z/stencil buffer, so there's probably a bug elsewhere. Disable the assertion for now to allow things to at least run.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index cd9919ca909..8352f175598 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -189,7 +189,7 @@ lp_rast_clear_zstencil(struct lp_rasterizer_task *task,
LP_DBG(DEBUG_RAST, "%s 0x%x\n", __FUNCTION__, arg.clear_zstencil);
- assert(rast->zsbuf.map);
+ /*assert(rast->zsbuf.map);*/
if (!rast->zsbuf.map)
return;