On Sat, 10 Dec 2011 12:00:27 -0700, Brian Paul <bri...@vmware.com> wrote:
> This fixes two things:
> 1. If the texture object was created with glTexStorage2D, the call
>    to _mesa_TexImage2D() would generate INVALID_OPERATION since the
>    texture is marked as immutable.
> 2. _mesa_TexImage2D() always frees any existing texture image memory
>    before allocating new memory.  That's inefficient since the existing
>    image is usually the right size already.

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpNb1oPLuuMh.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