[test-blend-strings] Fix a silly off by one that meant the test couldn't fail

The test was quiting after the 2nd frame but it should be the third frame because
the test doesn't actually check results until the third frame due to the workaround
for drivers with broken glReadPixels.

(When first written the test would have been verified with the
clutter_main_quit() commented out which gives visual feedback of what the
test does, so the off by one would have snuck in just before uncommenting
and pushing.)
This commit is contained in:
Robert Bragg 2009-06-06 21:33:31 +01:00
parent 9691827b5b
commit a87f6f32a6

View File

@ -359,7 +359,7 @@ on_paint (ClutterActor *actor, TestState *state)
/* Comment this out if you want visual feedback for what this test paints */
#if 1
if (frame_num == 2)
if (frame_num == 3)
clutter_main_quit ();
#endif
}