aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-04-28 19:34:56 +0200
committerMarek Olšák <[email protected]>2011-04-29 11:32:55 +0200
commitaeac658e25bd0d939b503000676a4b3c3114bf41 (patch)
tree9a0649364682fa1f641e154640f8447c7530396a /src/mesa/main
parent8b558451ad7560a53263f1848b5c826069aa8f51 (diff)
mesa: remove unused variable bytesPerRow
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texstore.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index d694ab8e5ad..6da3e4eb7b4 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -4208,11 +4208,9 @@ _mesa_texstore_rgb9_e5(TEXSTORE_PARAMS)
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
@@ -4263,11 +4261,9 @@ _mesa_texstore_r11_g11_b10f(TEXSTORE_PARAMS)
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