srcPacking,
ctx->_ImageTransferState);
const GLfloat *srcRow = tempImage;
- GLint bytesPerRow;
GLint img, row, col;
if (!tempImage)
return GL_FALSE;
- bytesPerRow = srcWidth * 3 * sizeof(GLfloat);
for (img = 0; img < srcDepth; img++) {
GLubyte *dstRow = (GLubyte *) dstAddr
+ dstImageOffsets[dstZoffset + img] * 4
srcPacking,
ctx->_ImageTransferState);
const GLfloat *srcRow = tempImage;
- GLint bytesPerRow;
GLint img, row, col;
if (!tempImage)
return GL_FALSE;
- bytesPerRow = srcWidth * 3 * sizeof(GLfloat);
for (img = 0; img < srcDepth; img++) {
GLubyte *dstRow = (GLubyte *) dstAddr
+ dstImageOffsets[dstZoffset + img] * 4