[cogl/wip/neil/snippets: 6/26] pipeline: Add a missing break for the uniforms state



commit c457f1efd3e889da4df20767a7bddfb48d35fa65
Author: Neil Roberts <neil linux intel com>
Date:   Mon Nov 28 22:10:10 2011 +0000

    pipeline: Add a missing break for the uniforms state
    
    _cogl_pipeline_init_multi_property_sparse_state was missing a break in
    the case statement handling uniforms. This doesn't yet matter because
    it is the last one handled anyway but it will bite someone later.

 cogl/cogl-pipeline.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-pipeline.c b/cogl/cogl-pipeline.c
index c984219..6b84b3f 100644
--- a/cogl/cogl-pipeline.c
+++ b/cogl/cogl-pipeline.c
@@ -1064,6 +1064,7 @@ _cogl_pipeline_init_multi_property_sparse_state (CoglPipeline *pipeline,
         _cogl_bitmask_init (&uniforms_state->override_mask);
         _cogl_bitmask_init (&uniforms_state->changed_mask);
         uniforms_state->override_values = NULL;
+        break;
       }
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]