draw: remove unused vars
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 25 Apr 2008 13:10:02 +0000 (14:10 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 25 Apr 2008 13:20:25 +0000 (14:20 +0100)
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c

index 0545dbc171922e15515d0e402b01c107b1c829af..f05641dee66a2e7dcf17667a2fac96c30ce2571a 100644 (file)
@@ -815,7 +815,6 @@ aaline_bind_sampler_states(struct pipe_context *pipe,
                            unsigned num, void **sampler)
 {
    struct aaline_stage *aaline = aaline_stage_from_pipe(pipe);
-   struct draw_context *draw = aaline->stage.draw;
 
    /* save current */
    memcpy(aaline->state.sampler, sampler, num * sizeof(void *));
@@ -831,7 +830,6 @@ aaline_set_sampler_textures(struct pipe_context *pipe,
                             unsigned num, struct pipe_texture **texture)
 {
    struct aaline_stage *aaline = aaline_stage_from_pipe(pipe);
-   struct draw_context *draw = aaline->stage.draw;
    uint i;
 
    /* save current */
index da303a13ad133877cd7b18f5bb33f5f7297b6abc..d1d63d73bead753f4bc532d0588c09c50493c892 100644 (file)
@@ -667,7 +667,6 @@ pstip_set_sampler_textures(struct pipe_context *pipe,
                            unsigned num, struct pipe_texture **texture)
 {
    struct pstip_stage *pstip = pstip_stage_from_pipe(pipe);
-   struct draw_context *draw = pstip->stage.draw;
    uint i;
 
    /* save current */
@@ -690,7 +689,6 @@ pstip_set_polygon_stipple(struct pipe_context *pipe,
                           const struct pipe_poly_stipple *stipple)
 {
    struct pstip_stage *pstip = pstip_stage_from_pipe(pipe);
-   struct draw_context *draw = (struct draw_context *) pipe->draw;
 
    /* save current */
    pstip->state.stipple = stipple;