test-cogl-path: Initialise state.frame

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.
This commit is contained in:
Neil Roberts 2010-05-06 14:16:33 +01:00
parent 0021b4aee0
commit b9c7051484

View 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);