[Mesa-dev] [PATCH 1/3] main: Added _mesa_cube_level_complete to check for the completeness of an arbitrary cube map level.

Chad Versace chad.versace at intel.com
Thu Jan 1 11:08:16 PST 2015


On 12/31/2014 05:26 PM, Laura Ekstrand wrote:

> +/**
> + * Check if the given cube map texture is "cube complete" as defined in
> + * the OpenGL specification.
> + */
> +GLboolean
> +_mesa_cube_complete(const struct gl_texture_object *texObj)
> +{
> +   _mesa_cube_level_complete(texObj, texObj->BaseLevel);

You forgot to return here ^^^
> +}

This patch makes sense to me after our irc conversation.
With the return fixed,
Reviewed-by: Chad Versace <chad.versace at intel.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150101/ff1dc867/attachment.sig>


More information about the mesa-dev mailing list