X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglhanoi.c;h=f9bc6fe0d2aef93a6194938d7dfdf0f681eb003c;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hp=a853896e5d174693ce903e86ba129a935f9fa0d3;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;p=xscreensaver diff --git a/hacks/glx/glhanoi.c b/hacks/glx/glhanoi.c index a853896e..f9bc6fe0 100644 --- a/hacks/glx/glhanoi.c +++ b/hacks/glx/glhanoi.c @@ -1890,6 +1890,11 @@ ENTRYPOINT void init_glhanoi(ModeInfo * mi) (int)((1 - sqrt(frand(1.0))) * (glhanoi->numberOfDisks - 1)); glhanoi->wire = MI_IS_WIREFRAME(mi); + +# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */ + glhanoi->wire = 0; +# endif + glhanoi->light = light; glhanoi->fog = fog; glhanoi->texture = texture; @@ -2025,6 +2030,13 @@ ENTRYPOINT Bool glhanoi_handle_event(ModeInfo * mi, XEvent * event) return True; } +#if 0 /* #### doesn't work */ + else if (screenhack_event_helper (MI_DISPLAY(mi), MI_WINDOW(mi), event)) + { + changeState(glhanoi, START); + return True; + } +#endif return False; }