aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_drawpix.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-11-10 11:30:15 +0100
committerIago Toral Quiroga <[email protected]>2015-01-12 11:20:27 +0100
commit382d097e546cb7568bef4fa552dcd84535271845 (patch)
tree9b81faecf3734e1afc74406f0a485ce530606e48 /src/mesa/swrast/s_drawpix.c
parentfea1be8d0bd53f817f62d9b4fa82cfcb667fd3c3 (diff)
swrast: Remove unused variable.
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r--src/mesa/swrast/s_drawpix.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c
index f7926e42602..227faa229aa 100644
--- a/src/mesa/swrast/s_drawpix.c
+++ b/src/mesa/swrast/s_drawpix.c
@@ -414,7 +414,6 @@ draw_rgba_pixels( struct gl_context *ctx, GLint x, GLint y,
{
const GLint imgX = x, imgY = y;
const GLboolean zoom = ctx->Pixel.ZoomX!=1.0 || ctx->Pixel.ZoomY!=1.0;
- GLfloat *convImage = NULL;
GLbitfield transferOps = ctx->_ImageTransferState;
SWspan span;
@@ -493,8 +492,6 @@ draw_rgba_pixels( struct gl_context *ctx, GLint x, GLint y,
span.array->ChanType = CHAN_TYPE;
}
- free(convImage);
-
swrast_render_finish(ctx);
}