From 382d097e546cb7568bef4fa552dcd84535271845 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Mon, 10 Nov 2014 11:30:15 +0100 Subject: swrast: Remove unused variable. Reviewed-by: Ian Romanick Reviewed-by: Jason Ekstrand --- src/mesa/swrast/s_drawpix.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mesa/swrast/s_drawpix.c') 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); } -- cgit v1.2.3