summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-03-10 19:41:51 +0000
committerKeith Whitwell <[email protected]>2008-03-10 23:31:50 +0000
commit7375369fb32e203023fbacf948169aad3f4c3a1d (patch)
tree1d5db4850019bdebd2639efc8c7dce81df4c1c76 /src/gallium
parent3f5b9f4ba49df57e7bbab04eab55a17a99bb5046 (diff)
gallium: fix compiler warning
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pstipple.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pstipple.c b/src/gallium/auxiliary/draw/draw_pstipple.c
index 894b136f2c3..b3e52dc1c79 100644
--- a/src/gallium/auxiliary/draw/draw_pstipple.c
+++ b/src/gallium/auxiliary/draw/draw_pstipple.c
@@ -482,11 +482,10 @@ static void
pstip_first_tri(struct draw_stage *stage, struct prim_header *header)
{
struct pstip_stage *pstip = pstip_stage(stage);
- struct draw_context *draw = stage->draw;
struct pipe_context *pipe = pstip->pipe;
uint num = MAX2(pstip->num_textures, pstip->num_samplers);
- assert(draw->rasterizer->poly_stipple_enable);
+ assert(stage->draw->rasterizer->poly_stipple_enable);
/*
* Bind our fragprog, sampler and texture