projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97398d1
)
mesa: remove unused-but-set variable in extract_uint_rgba
author
Marek Olšák
<maraeo@gmail.com>
Sun, 1 May 2011 11:33:38 +0000
(13:33 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 1 May 2011 12:02:35 +0000
(14:02 +0200)
src/mesa/main/pack.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/pack.c
b/src/mesa/main/pack.c
index
d0b8a4f
..
d6470e3
100644
(file)
--- 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; \