X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fprovidence.c;h=d9b648417b2ec257ed4e46d8333982fb5f296f72;hb=ff35d056d723c9a5ffe728dbba5f1c25e141be04;hp=1f9e3bda979f3b1eeec919498dd8843ddd49856f;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;p=xscreensaver diff --git a/hacks/glx/providence.c b/hacks/glx/providence.c index 1f9e3bda..d9b64841 100644 --- a/hacks/glx/providence.c +++ b/hacks/glx/providence.c @@ -711,6 +711,10 @@ ENTRYPOINT void init_providence(ModeInfo *mi) mp->mono = MI_IS_MONO(mi); mp->wire = MI_IS_WIREFRAME(mi); +# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */ + mp->wire = 0; +# endif + /* make multiple screens rotate at slightly different rates. */ mp->theta_scale = 0.7 + frand(0.6); @@ -782,9 +786,7 @@ ENTRYPOINT void draw_providence(ModeInfo * mi) /* rotate providence */ glTranslatef(0.0, 0.0, mp->camera_z + sin(mp->theta/4.0)); glRotatef(10.0+20.0*sin(mp->theta/2.0), 1.0, 0.0, 0.0); - glRotatef(-current_device_rotation(), 0, 0, 1); gltrackball_rotate(mp->trackball); - glRotatef(current_device_rotation(), 0, 0, 1); glRotatef(mp->theta * 180.0 / Pi, 0.0, -1.0, 0.0); /* draw providence */