_mesa_unpack_uint_rgba_row(texFormat, width, src, rgba_uint);
if (texImage->_BaseFormat == GL_ALPHA) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba_uint[col][RCOMP] = 0;
rgba_uint[col][GCOMP] = 0;
}
}
else if (texImage->_BaseFormat == GL_LUMINANCE) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba_uint[col][GCOMP] = 0;
rgba_uint[col][BCOMP] = 0;
}
}
else if (texImage->_BaseFormat == GL_LUMINANCE_ALPHA) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba_uint[col][GCOMP] = 0;
rgba_uint[col][BCOMP] = 0;
}
}
else if (texImage->_BaseFormat == GL_INTENSITY) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba_uint[col][GCOMP] = 0;
rgba_uint[col][BCOMP] = 0;
_mesa_unpack_rgba_row(texFormat, width, src, rgba);
if (texImage->_BaseFormat == GL_ALPHA) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba[col][RCOMP] = 0.0F;
rgba[col][GCOMP] = 0.0F;
}
}
else if (texImage->_BaseFormat == GL_LUMINANCE) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba[col][GCOMP] = 0.0F;
rgba[col][BCOMP] = 0.0F;
}
}
else if (texImage->_BaseFormat == GL_LUMINANCE_ALPHA) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba[col][GCOMP] = 0.0F;
rgba[col][BCOMP] = 0.0F;
}
}
else if (texImage->_BaseFormat == GL_INTENSITY) {
- GLint col;
+ GLuint col;
for (col = 0; col < width; col++) {
rgba[col][GCOMP] = 0.0F;
rgba[col][BCOMP] = 0.0F;