util: Check result of weston_surface_animation_run.

dev
John Kåre Alsaker 12 years ago committed by Kristian Høgsberg
parent 5e48a85e6b
commit 7a92ea494c
  1. 3
      src/util.c

@ -265,6 +265,9 @@ weston_slide_run(struct weston_surface *surface, float start, float stop,
animation = weston_surface_animation_run(surface, start, stop,
slide_frame, done, data);
if (!animation)
return NULL;
animation->spring.friction = 900;
animation->spring.k = 300;

Loading…
Cancel
Save