X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fmirrorblob.c;h=67ee46d241d36cc1aaabce4e92937dd3884b7c48;hb=8afc01a67be4fbf3f1cc0fce9adf01b5289a21c6;hp=d8b0915de1e563fcf08e992144825b7b1c748433;hpb=6f5482d73adb0165c0130bb47d852644ab0c4869;p=xscreensaver diff --git a/hacks/glx/mirrorblob.c b/hacks/glx/mirrorblob.c index d8b0915d..67ee46d2 100644 --- a/hacks/glx/mirrorblob.c +++ b/hacks/glx/mirrorblob.c @@ -605,6 +605,10 @@ grab_texture(ModeInfo *mi, int texture_index) static void set_parameters(void) { +# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */ + wireframe = 0; +# endif + /* In wire frame mode do not draw a texture */ if (wireframe) { @@ -1119,11 +1123,13 @@ initialise_blob(mirrorblobstruct *gp, * * Return the magnitude of the given vector */ +#if 0 static inline double length (Vector3D u) { return sqrt (u.x * u.x + u.y * u.y + u.z * u.z); } +#endif /****************************************************************************** *