summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pack.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-05-01 13:33:38 +0200
committerMarek Olšák <[email protected]>2011-05-01 14:02:35 +0200
commitf507530d25c04e62268ae562f5a3ef32caefabae (patch)
tree994a4ca385af6a38c6617eb4b3c94ba97c593f1c /src/mesa/main/pack.c
parent97398d1d56e6551ef0396738d5d8b58ebddfcd2b (diff)
mesa: remove unused-but-set variable in extract_uint_rgba
Diffstat (limited to 'src/mesa/main/pack.c')
-rw-r--r--src/mesa/main/pack.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c
index d0b8a4ff3a1..d6470e351b8 100644
--- a/src/mesa/main/pack.c
+++ b/src/mesa/main/pack.c
@@ -2932,7 +2932,6 @@ extract_uint_rgba(GLuint n, GLuint rgba[][4],
GLint rSrc, gSrc, bSrc, aSrc;
GLint stride;
GLint rDst, bDst, gDst, aDst;
- GLboolean intFormat;
ASSERT(srcFormat == GL_RED ||
srcFormat == GL_GREEN ||
@@ -2989,8 +2988,6 @@ extract_uint_rgba(GLuint n, GLuint rgba[][4],
stride = _mesa_components_in_format(srcFormat);
- intFormat = _mesa_is_integer_format(srcFormat);
-
#define PROCESS(SRC_INDEX, DST_INDEX, DEFAULT, TYPE, CONVERSION) \
if ((SRC_INDEX) < 0) { \
GLuint i; \