Re: [PATCH weston] Increment frame_counter before calling animation->frame().

2012-06-15 Thread Kristian Høgsberg
On Thu, Jun 14, 2012 at 01:01:56AM -0600, Scott Moreau wrote: > Iterate the frame_counter before calling animation->frame() because the > animation might be > destroyed in this path. The first frame is now 1 (not 0) in the animation > frame handlers. > --- > > This fixes bug #51057 Thanks, Kris

[PATCH weston] Increment frame_counter before calling animation->frame().

2012-06-14 Thread Scott Moreau
Iterate the frame_counter before calling animation->frame() because the animation might be destroyed in this path. The first frame is now 1 (not 0) in the animation frame handlers. --- This fixes bug #51057 src/compositor.c |6 +++--- src/util.c |4 ++-- 2 files changed, 5 insert