X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fglx%2Finvolute.c;h=a7c415e96c171072115abe8941fb7bf301340858;hb=c141c2b05e374757b6499d12bb8a6d4d943b1529;hp=6a132e003fa7db4300a9c81bc7ea844d223554d0;hpb=488f2fa8fbdbc77e91a70da2962d73af49e6cace;p=xscreensaver diff --git a/hacks/glx/involute.c b/hacks/glx/involute.c index 6a132e00..a7c415e9 100644 --- a/hacks/glx/involute.c +++ b/hacks/glx/involute.c @@ -17,14 +17,15 @@ #include "screenhackI.h" -#ifdef HAVE_COCOA -# include -# include -#else /* !HAVE_COCOA -- real Xlib */ +#ifndef HAVE_COCOA # include # include #endif /* !HAVE_COCOA */ +#ifdef HAVE_JWZGLES +# include "jwzgles.h" +#endif /* HAVE_JWZGLES */ + #include "involute.h" #include "normals.h" @@ -33,8 +34,8 @@ /* For debugging: if true then in wireframe, do not abbreviate. */ -static Bool wire_all_p = False+1; -static Bool show_normals_p = False+1; +static Bool wire_all_p = False; +static Bool show_normals_p = False; /* Draws an uncapped tube of the given radius extending from top to bottom, @@ -248,7 +249,6 @@ draw_spokes (int n, GLfloat thickness, int segments, rb = orb; } - glEnd(); return polys; }