[Mesa-dev] [PATCH] mesa: remove stray GL_TEXTURE_1D_ARRAY code in _mesa_store_teximage3d()

Eric Anholt eric at anholt.net
Mon Dec 19 13:56:48 PST 2011


On Mon, 19 Dec 2011 13:47:42 -0700, Brian Paul <brianp at vmware.com> wrote:
> GL_TEXTURE_1D_ARRAY is never a legal target for glTexImage3D.  This was
> probably copy&paste code from the _mesa_store_teximage2d() function above.

Radeon and intel use texstore3d for all our TexImage* storage.  Though
it does look like we could dump our 1D and 3D overrides of 1D and 3D,
and then use texstore2d.
-------------- 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/20111219/da037dc9/attachment.pgp>


More information about the mesa-dev mailing list