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

Neil Roberts neil at linux.intel.com
Wed Jul 4 08:15:22 PDT 2012


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



More information about the Cogl mailing list