projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea1be8
)
swrast: Remove unused variable.
author
Iago Toral Quiroga
<itoral@igalia.com>
Mon, 10 Nov 2014 10:30:15 +0000
(11:30 +0100)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Mon, 12 Jan 2015 10:20:27 +0000
(11:20 +0100)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/swrast/s_drawpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_drawpix.c
b/src/mesa/swrast/s_drawpix.c
index
f7926e4
..
227faa2
100644
(file)
--- 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);
}