mesa: remove unused-but-set variable in extract_uint_rgba
This commit is contained in:
parent
97398d1d56
commit
f507530d25
1 changed files with 0 additions and 3 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue