diff options
author | Iago Toral Quiroga <itoral@igalia.com> | 2014-11-10 11:30:15 +0100 |
---|---|---|
committer | Iago Toral Quiroga <itoral@igalia.com> | 2015-01-12 11:20:27 +0100 |
commit | 382d097e546cb7568bef4fa552dcd84535271845 (patch) | |
tree | 9b81faecf3734e1afc74406f0a485ce530606e48 /src/mesa/swrast/s_drawpix.c | |
parent | fea1be8d0bd53f817f62d9b4fa82cfcb667fd3c3 (diff) | |
download | external_mesa3d-382d097e546cb7568bef4fa552dcd84535271845.zip external_mesa3d-382d097e546cb7568bef4fa552dcd84535271845.tar.gz external_mesa3d-382d097e546cb7568bef4fa552dcd84535271845.tar.bz2 |
swrast: Remove unused variable.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index f7926e4..227faa2 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); } |