X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fpolyhedra-gl.c;fp=hacks%2Fglx%2Fpolyhedra-gl.c;h=f97d2bf7a041bd9121acc99e22aeb09e14c4caa1;hp=48e7ec53a58bf2a6d481469fb201524d4513c403;hb=b81f521c5ad7022ac12db18ca8fcdd9fb063831e;hpb=c141c2b05e374757b6499d12bb8a6d4d943b1529 diff --git a/hacks/glx/polyhedra-gl.c b/hacks/glx/polyhedra-gl.c index 48e7ec53..f97d2bf7 100644 --- a/hacks/glx/polyhedra-gl.c +++ b/hacks/glx/polyhedra-gl.c @@ -1,4 +1,4 @@ -/* polyhedra, Copyright (c) 2004-2011 Jamie Zawinski +/* polyhedra, Copyright (c) 2004-2012 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -537,6 +537,11 @@ init_polyhedra (ModeInfo *mi) polyhedra_configuration *bp; int wire = MI_IS_WIREFRAME(mi); +# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */ + MI_IS_WIREFRAME(mi) = 0; + wire = 0; +# endif + if (!bps) { bps = (polyhedra_configuration *) calloc (MI_NUM_SCREENS(mi), sizeof (polyhedra_configuration));