[Cogl] [PATCH 2/3] pipeline: Remove the CoglPipelineFlag enum

Robert Bragg robert at sixbynine.org
Mon Jul 9 10:27:25 PDT 2012


looks good to land to me.

Reviewed-by: Robert Bragg <robert at linux.intel.com>

regards,
- Robert

On Wed, Jul 4, 2012 at 4:15 PM, Neil Roberts <neil at linux.intel.com> wrote:
> This doesn't appear to be used anywhere in the code since it was added
> in 1cc3ae69. Dead code is confusing so let's remove it.
> ---
>  cogl/cogl-pipeline-private.h | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/cogl/cogl-pipeline-private.h b/cogl/cogl-pipeline-private.h
> index 71b4c4e..c64e9e2 100644
> --- a/cogl/cogl-pipeline-private.h
> +++ b/cogl/cogl-pipeline-private.h
> @@ -391,12 +391,6 @@ typedef struct
>    CoglPipelineSnippetList fragment_snippets;
>  } CoglPipelineBigState;
>
> -typedef enum
> -{
> -  COGL_PIPELINE_FLAG_DIRTY_LAYERS_CACHE     = 1L<<0,
> -  COGL_PIPELINE_FLAG_DIRTY_GET_LAYERS_LIST  = 1L<<1
> -} CoglPipelineFlag;
> -
>  typedef struct
>  {
>    CoglPipeline *owner;
> --
> 1.7.11.3.g3c3efa5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list