X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Flament.c;h=2a4b6395bb74f982c9dcfa77d01a5c17073552e9;hp=214aaf6208a5d455addf242f15224249f1370441;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/glx/lament.c b/hacks/glx/lament.c index 214aaf62..2a4b6395 100644 --- a/hacks/glx/lament.c +++ b/hacks/glx/lament.c @@ -29,7 +29,9 @@ #define DEFAULTS "*delay: 20000 \n" \ "*showFPS: False \n" \ - "*wireframe: False \n" + "*wireframe: False \n" \ + "*suppressRotationAnimation: True\n" \ + # define refresh_lament 0 # define release_lament 0 #include "xlockmore.h" @@ -325,7 +327,7 @@ scale_for_window (ModeInfo *mi) /* Constrain it to roughly life-sized on the screen, not huge. */ -# ifdef USE_IPHONE +# ifdef HAVE_MOBILE if (size > 768) /* iPad retina / iPhone 6 */ target_size *= 1.5; else @@ -453,8 +455,8 @@ leviathan (ModeInfo *mi, GLfloat ratio, GLfloat alpha, Bool top_p) int j = (i + 1) % countof(p); /* if (top_p)*/ do_normal (z, 0, 0, - 0, p[i].y, p[i].z, - 0, p[j].y, p[j].z); + 0, p[i].x, p[i].y, + 0, p[j].x, p[j].y); /* else do_normal (z, 0, 0,