summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-08-16 08:53:55 -0600
committerBrian Paul <[email protected]>2012-08-16 08:53:55 -0600
commit658044cde1dbdd6d58ad61ef44850da7afa5c413 (patch)
tree8755741790658f43aeb3861b780121a6bd948dcc
parent1b11395a36a44a902cfb3e1783758544662df73f (diff)
meta: remove unused variable
-rw-r--r--src/mesa/drivers/common/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index ca01a3301fa..db49d90ea6d 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -3162,7 +3162,7 @@ _mesa_meta_GenerateMipmap(struct gl_context *ctx, GLenum target,
static GLenum
get_temp_image_type(struct gl_context *ctx, gl_format format)
{
- GLenum baseFormat, type;
+ GLenum baseFormat;
baseFormat = _mesa_get_format_base_format(format);