[Mesa-dev] [PATCH v2 09/23] swrast: Remove unused variable.
Ian Romanick
idr at freedesktop.org
Wed Dec 3 14:33:57 PST 2014
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 12/01/2014 03:04 AM, Iago Toral Quiroga wrote:
> ---
> src/mesa/swrast/s_drawpix.c | 3 ---
> 1 file changed, 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);
> }
>
>
More information about the mesa-dev
mailing list