aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/tdfx/tdfx_tex.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-05-12 15:02:49 +0000
committerBrian Paul <[email protected]>2004-05-12 15:02:49 +0000
commit71e373f18648584ade680bca7840a57e0d3cb725 (patch)
treedee9561eb95f812a02dde130897c9039628842d7 /src/mesa/drivers/dri/tdfx/tdfx_tex.c
parent5726a238d4d0d6dbe19ddb58cd07f7eeefb58fa2 (diff)
remove last remnants of NEWTEXSTORE stuff
Diffstat (limited to 'src/mesa/drivers/dri/tdfx/tdfx_tex.c')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_tex.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
index 942b6f29c52..2a386a7c036 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
@@ -1050,16 +1050,6 @@ tdfxTexSubImage2D(GLcontext *ctx, GLenum target, GLint level,
return;
}
-#if !NEWTEXSTORE
- _mesa_transfer_teximage(ctx, 2, texImage->Format,/* Tex int format */
- texImage->TexFormat, /* dest format */
- (GLubyte *) tempImage, /* dest */
- width, height, 1, /* subimage size */
- 0, 0, 0, /* subimage pos */
- width * texelBytes, /* dest row stride */
- 0, /* dst image stride */
- format, type, pixels, packing);
-#else
texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
&texImage->Format, texImage->Data,
0, 0, 0, /* dstX/Y/Zoffset */
@@ -1067,7 +1057,6 @@ tdfxTexSubImage2D(GLcontext *ctx, GLenum target, GLint level,
0, /* dstImageStride */
width, height, 1,
format, type, pixels, packing);
-#endif
/* now rescale */
scaledImage = MALLOC(newWidth * newHeight * texelBytes);
@@ -1093,16 +1082,6 @@ tdfxTexSubImage2D(GLcontext *ctx, GLenum target, GLint level,
}
else {
/* no rescaling needed */
-#if !NEWTEXSTORE
- _mesa_transfer_teximage(ctx, 2, texImage->Format, /* Tex int format */
- texImage->TexFormat, /* dest format */
- (GLubyte *) texImage->Data,/* dest */
- width, height, 1, /* subimage size */
- xoffset, yoffset, 0, /* subimage pos */
- mml->width * texelBytes, /* dest row stride */
- 0, /* dst image stride */
- format, type, pixels, packing);
-#else
texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
&texImage->Format, texImage->Data,
xoffset, yoffset, 0,
@@ -1110,7 +1089,6 @@ tdfxTexSubImage2D(GLcontext *ctx, GLenum target, GLint level,
0, /* dstImageStride */
width, height, 1,
format, type, pixels, packing);
-#endif
}
ti->reloadImages = GL_TRUE; /* signal the image needs to be reloaded */