summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-08-16 20:53:39 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-08-16 20:53:39 +0000
commit6206aec90ab47c34598c143c4dd141e42dd37c83 (patch)
tree5b54e07fad3295156bb628f290b8b445baf8f6c1 /src/mesa
parenta7d02567451f69445ef31181a41b16e86487093d (diff)
downloadexternal_mesa3d-6206aec90ab47c34598c143c4dd141e42dd37c83.zip
external_mesa3d-6206aec90ab47c34598c143c4dd141e42dd37c83.tar.gz
external_mesa3d-6206aec90ab47c34598c143c4dd141e42dd37c83.tar.bz2
change tex memory allocation calls (debian bug 383209)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_tex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
index 04ddfaa..862c7da 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
@@ -1364,8 +1364,7 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level,
texImage->Data = _mesa_alloc_texmemory(texImage->CompressedSize);
} else {
dstRowStride = mml->width * texelBytes;
- texImage->Data = _mesa_alloc_texmemory(mml->width * mml->height *
- texelBytes);
+ texImage->Data = _mesa_alloc_texmemory(mml->width * mml->height * texelBytes);
}
if (!texImage->Data) {
_mesa_error(ctx, GL_OUT_OF_MEMORY, "glTexImage2D");