[Mesa-dev] [PATCH 1/2] mesa: remove unused _NEW_TEXTURE composite state flags

Brian Paul brianp at vmware.com
Thu Jun 22 14:52:24 UTC 2017


On 06/22/2017 06:49 AM, Samuel Pitoiset wrote:
> ---
>   src/mesa/main/mtypes.h | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index 0cb002469b2..c88ca2e8e9c 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -4290,8 +4290,6 @@ struct gl_matrix_stack
>    * Composite state flags
>    */
>   /*@{*/
> -#define _NEW_TEXTURE   (_NEW_TEXTURE_OBJECT | _NEW_TEXTURE_STATE)
> -
>   #define _MESA_NEW_NEED_EYE_COORDS         (_NEW_LIGHT |		\
>                                              _NEW_TEXTURE_STATE |	\
>                                              _NEW_POINT |		\
>

Huh?  git grep shows quite a few instances of this flag, unless I've 
missed some pending patches.

-Brian



More information about the mesa-dev mailing list