On Wed, 29 Feb 2012 14:07:36 -0800, Anuj Phogat <anuj.pho...@gmail.com> wrote:
> Border only applies to the width for a 1D texture array and for a 2D
> texture array the it applies to the width and height but not to the
> depth.  This was not handled correctly in strip_texture_border().
> 
> v2: height is also affected by border if target is GL_TEXTURE_3D

It seems like the patch would be a lot shorter if you just special-cased
texture arrays in the previous code instead of adding the big switch
statement.

Attachment: pgpPmownEQgWf.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to