[Mesa-dev] [PATCH] i965: Fix glCompressedTexSubImage2D offsets for ETC textures.

Eric Anholt eric at anholt.net
Thu Jan 3 09:03:32 PST 2013


Paul Berry <stereotype441 at gmail.com> writes:

> This patch fixes intel_miptree_unmap_etc() (which decompresses ETC
> textures to linear) to pay attention to map->x and map->y when writing
> to the destination image.  Previously these values were ignored,
> causing the xoffset and yoffset parameters passed to
> glCompressedTexSubImage2D() to be ignored.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130103/c0d63aa1/attachment.pgp>


More information about the mesa-dev mailing list