[Mesa-dev] [PATCH 09/20] intel: Silence "warning: unused parameter ‘depth0’"
Eric Anholt
eric at anholt.net
Thu Sep 8 13:07:43 PDT 2011
On Mon, 29 Aug 2011 14:58:59 -0700, "Ian Romanick" <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> The depth0 parameter was not used in intel_miptree_create_for_region,
> so remove it. All of the places that call this function, pass 1 for
> that parameter, and the place where it looks like it should have been
> used (the call to intel_miptree_create_internal) also had 1 hard
> coded.
I haven't heard anything about the various EGL image things doing 3D
textures/array textures/whatever soon, so it seems fine to cut it out.
-------------- 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/20110908/2b521ec8/attachment.pgp>
More information about the mesa-dev
mailing list