summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_tex.c
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2005-02-01 15:27:36 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2005-02-01 15:27:36 +0000
commit88e155e353cfa8fb7531c01c0187d74576e27631 (patch)
treea5c720984d30f8283b046e22fedf7c31b91225a5 /src/mesa/drivers/dri/r300/r300_tex.c
parentd4697b0997a56df21105005dc1536173576a424c (diff)
Get alpha in textures to work properly.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_tex.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c
index 8ea9b7f6bd..b81b7e64c6 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.c
+++ b/src/mesa/drivers/dri/r300/r300_tex.c
@@ -318,10 +318,12 @@ static const struct gl_texture_format *r300ChooseTextureFormat(GLcontext * ctx,
(void)format;
#if 0
- fprintf(stderr, "InternalFormat=%s type=%s format=%s\n",
- _mesa_lookup_enum_by_nr(internalFormat),
+ fprintf(stderr, "InternalFormat=%s(%d) type=%s format=%s\n",
+ _mesa_lookup_enum_by_nr(internalFormat), internalFormat,
_mesa_lookup_enum_by_nr(type),
_mesa_lookup_enum_by_nr(format));
+ fprintf(stderr, "do32bpt=%d force16bpt=%d\n",
+ do32bpt, force16bpt);
#endif
switch (internalFormat) {