Module: Mesa
Branch: lp-surface-tiling
Commit: 784cc73fb334a9d7b7c93cbd8a1445cdf742ff58
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=784cc73fb334a9d7b7c93cbd8a1445cdf742ff58

Author: Brian Paul <[email protected]>
Date:   Thu Apr  8 10:57:43 2010 -0600

llvmpipe: fix debug build

---

 src/gallium/drivers/llvmpipe/lp_rast.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c 
b/src/gallium/drivers/llvmpipe/lp_rast.c
index 30decb7..3d25cc6 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -553,6 +553,9 @@ static void
 lp_rast_tile_end(struct lp_rasterizer_task *task)
 {
 #if DEBUG
+   struct lp_rasterizer *rast = task->rast;
+   unsigned buf;
+
    for (buf = 0; buf < rast->state.nr_cbufs; buf++) {
       uint8_t *color = lp_rast_get_color_block_pointer(task, buf,
                                                        task->x, task->y);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to