Ian,

This bit of the patch is broken....

       case GL_TEXTURE_3D:
-         {
-            const struct gl_texture_unit *texUnit;
-            texUnit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit];
-            return (texUnit->Enabled & TEXTURE_3D_BIT) ? GL_TRUE :
GL_FALSE;
-         }
+         return is_texture_enabled(ctx, TEXTURE_2D_BIT);

The above line should be...

        return is_texture_enabled(ctx, TEXTURE_3D_BIT);

Alan.

On Wed, 2007-05-09 at 21:55 -0700, Ian Romanick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I've been doing a little work in Mesa's texture code lately.  I've
> mostly been resurrecting my old patch to implement MESAX_texture_stack.
>  In the process, I've found a few bits of code that could be refactored.
> 
> Attached are 4 patches.  I'd like to get an ACK or NAK on them before I
> commit.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> 
> iD8DBQFGQqWzX1gOwKyEAw8RAjBFAJ4goC5hzrh9Bi78fhPSYXPyz6dO1gCfZB8v
> VeoKSmjhSxL2IhMUuY3LL6Q=
> =7YYW
> -----END PGP SIGNATURE-----
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________ Mesa3d-dev mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to