X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fglslideshow.c;h=e3108980609f7573ac3f0ab657aed18d6adee44b;hp=993a797614f3606e5a9c9ae9d0329ab0256bffc9;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439 diff --git a/hacks/glx/glslideshow.c b/hacks/glx/glslideshow.c index 993a7976..e3108980 100644 --- a/hacks/glx/glslideshow.c +++ b/hacks/glx/glslideshow.c @@ -1,4 +1,4 @@ -/* glslideshow, Copyright (c) 2003-2006 Jamie Zawinski +/* glslideshow, Copyright (c) 2003-2008 Jamie Zawinski * Loads a sequence of images and smoothly pans around them; crossfades * when loading new images. * @@ -535,7 +535,12 @@ randomize_sprite (ModeInfo *mi, sprite *sp) */ if ((int) (0.5 + (sp->from.w * 1000 / sp->from.h)) != (int) (0.5 + (sp->to.w * 1000 / sp->to.h))) - abort(); + { + fprintf (stderr, "%s: botched aspect: %f x %f vs %f x %f: %s\n", + progname, sp->from.w, sp->from.h, sp->to.w, sp->to.h, + sp->img->title); + abort(); + } sp->from.x /= vp_w; sp->from.y /= vp_h;