test-cogl-path: Initialise state.frame
authorNeil Roberts <neil@linux.intel.com>
Thu, 6 May 2010 13:16:33 +0000 (14:16 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 6 May 2010 13:16:33 +0000 (14:16 +0100)
state.frame was left unitialized so it would be left to happenstance
which of the first three frames would be used for validating the test.

tests/conform/test-cogl-path.c

index 87d108d..4c127b5 100644 (file)
@@ -180,6 +180,7 @@ test_cogl_path (TestConformSimpleFixture *fixture,
   unsigned int idle_source;
   unsigned int paint_handler;
 
+  state.frame = 0;
   state.stage = clutter_stage_get_default ();
   clutter_stage_set_color (CLUTTER_STAGE (state.stage), &stage_color);