aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxddtex.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-05-19 08:16:44 +0000
committerDaniel Borca <[email protected]>2004-05-19 08:16:44 +0000
commitfc332f008c8de215de59436c0ff5550b7ffd08e2 (patch)
tree39359829249a1619a92db78d2f7389fda5e42511 /src/mesa/drivers/glide/fxddtex.c
parent73f59b01eacf62c2e0ba720d4fbf250773aeabf2 (diff)
added GL_NV_blend_square
fixed alpha blending modes for Napalm minor fix in compressed texture aspectratio adjust
Diffstat (limited to 'src/mesa/drivers/glide/fxddtex.c')
-rw-r--r--src/mesa/drivers/glide/fxddtex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c
index c2d4af9d7db..1fbeb8d252d 100644
--- a/src/mesa/drivers/glide/fxddtex.c
+++ b/src/mesa/drivers/glide/fxddtex.c
@@ -1212,8 +1212,8 @@ adjust2DRatio (GLcontext *ctx,
return GL_FALSE;
}
/* unpack image, apply transfer ops and store in rawImage */
- _mesa_texstore_argb8888(ctx, 2, GL_RGBA,
- &_mesa_texformat_argb8888, rawImage,
+ _mesa_texstore_rgba8888(ctx, 2, GL_RGBA,
+ &_mesa_texformat_rgba8888_rev, rawImage,
0, 0, 0, /* dstX/Y/Zoffset */
width * rawBytes, /* dstRowStride */
0, /* dstImageStride */
@@ -1230,7 +1230,7 @@ adjust2DRatio (GLcontext *ctx,
dstRowStride,
0, /* dstImageStride */
newWidth, newHeight, 1,
- GL_BGRA, CHAN_TYPE, tempImage, &ctx->DefaultPacking);
+ GL_RGBA, CHAN_TYPE, tempImage, &ctx->DefaultPacking);
FREE(rawImage);
}