X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fpolytopes.c;h=4f401d50a3b9b9b14f45f3fe0976b67a00a0d343;hp=c99f50d92081e9d5215f535a3d84f0fec23ba8cc;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/glx/polytopes.c b/hacks/glx/polytopes.c index c99f50d9..4f401d50 100644 --- a/hacks/glx/polytopes.c +++ b/hacks/glx/polytopes.c @@ -90,7 +90,8 @@ static const char sccsid[] = "@(#)polytopes.c 1.2 05/09/28 xlockmore"; #ifdef STANDALONE # define DEFAULTS "*delay: 25000 \n" \ - "*showFPS: False \n" + "*showFPS: False \n" \ + "*suppressRotationAnimation: True\n" \ # define refresh_polytopes 0 # include "xlockmore.h" /* from the xscreensaver distribution */ @@ -100,7 +101,7 @@ static const char sccsid[] = "@(#)polytopes.c 1.2 05/09/28 xlockmore"; #ifdef USE_GL -#ifndef HAVE_COCOA +#ifndef HAVE_JWXYZ # include #endif #include "gltrackball.h" @@ -2827,6 +2828,7 @@ static void display_polytopes(ModeInfo *mi) { gluPerspective(60.0,pp->aspect,0.1,100.0); } + glMatrixMode(GL_MODELVIEW); glLoadIdentity();