summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2003-10-31 11:07:39 +0000
committerDaniel Borca <[email protected]>2003-10-31 11:07:39 +0000
commitf807a35cd24b22c625fb5ea2921c40db2e123809 (patch)
tree96b271034bc2d0430ac0bf656b94a60e52c30901 /src
parente81b180065f0a9f80c1310ac447509b1debc4559 (diff)
removed detritus
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/glide/fxddtex.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c
index 0885dad12c2..c425549d9cb 100644
--- a/src/mesa/drivers/glide/fxddtex.c
+++ b/src/mesa/drivers/glide/fxddtex.c
@@ -714,9 +714,6 @@ fetch_alpha8(const struct gl_texture_image *texImage,
i = i * mml->wScale;
j = j * mml->hScale;
- /* [dBorca] why, oh... why? */
- i = i * mml->width / texImage->Width;
- j = j * mml->height / texImage->Height;
texel = ((GLubyte *) texImage->Data) + j * mml->width + i;
rgba[RCOMP] = 255;
@@ -736,9 +733,6 @@ fetch_index8(const struct gl_texture_image *texImage,
i = i * mml->wScale;
j = j * mml->hScale;
- /* [dBorca] why, oh... why? */
- i = i * mml->width / texImage->Width;
- j = j * mml->height / texImage->Height;
texel = ((GLubyte *) texImage->Data) + j * mml->width + i;
*indexOut = *texel;
@@ -1428,7 +1422,6 @@ fxDDTexSubImage2D(GLcontext * ctx, GLenum target, GLint level,
}
else {
/* no rescaling needed */
- /* [dBorca] Hack alert: compute address of dest subimage within the overal tex image */
_mesa_transfer_teximage(ctx, 2, texImage->Format, /* Tex int format */
texImage->TexFormat, /* dest format */
(GLubyte *) texImage->Data,/* dest */