Keith Whitwell wrote:
> OK, I'll take a closer look. In the meantime, does this diff solve the
> problem for you?
> Index: texstore.c
> ===================================================================
> RCS file: /cvs/mesa/Mesa/src/mesa/main/texstore.c,v
> retrieving revision 1.121
> diff -u -r1.121 texstore.c
> --- texstore.c 20 Sep 2006 14:28:42 -0000 1.121
> +++ texstore.c 20 Sep 2006 16:09:23 -0000
> @@ -1320,7 +1320,8 @@
> dstFormat == &_mesa_texformat_argb8888 &&
> srcType == GL_UNSIGNED_BYTE &&
> littleEndian &&
> - can_swizzle(baseInternalFormat) &&
> + (baseInternalFormat == GL_RGBA ||
> + baseInternalFormat == GL_RGB) &&
> can_swizzle(srcFormat)) {
>
> GLubyte dstmap[4];
Yes, that works just fine.
Roland
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev