Module: Mesa
Branch: mesa_7_5_branch
Commit: 862c7b8cd34ff5606465b97b09fd5fafda50c33b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=862c7b8cd34ff5606465b97b09fd5fafda50c33b

Author: José Fonseca <[email protected]>
Date:   Thu Jun 11 18:50:36 2009 +0100

mesa: Remove dead code.

---

 src/mesa/state_tracker/st_cb_drawpixels.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c 
b/src/mesa/state_tracker/st_cb_drawpixels.c
index 04cf673..2027b71 100644
--- a/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -769,7 +769,6 @@ st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei 
width, GLsizei height,
    struct st_vertex_program *stvp;
    struct st_context *st = ctx->st;
    struct pipe_surface *ps;
-   GLuint bufferFormat;
    const GLfloat *color;
 
    if (format == GL_STENCIL_INDEX ||
@@ -797,8 +796,6 @@ st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei 
width, GLsizei height,
       color = NULL;
    }
 
-   bufferFormat = ps->format;
-
    /* draw with textured quad */
    {
       struct pipe_texture *pt

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

Reply via email to