mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
[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:
parent
9691827b5b
commit
a87f6f32a6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user