X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fflurry.h;h=38c0adebb624559c6445834de82712b87f6c2349;hb=488f2fa8fbdbc77e91a70da2962d73af49e6cace;hp=3221006482c2cc6d51476f127dda682baf698db0;hpb=4cecfc89e5e889c7232693897c06168fb378bd5c;p=xscreensaver diff --git a/hacks/glx/flurry.h b/hacks/glx/flurry.h index 32210064..38c0adeb 100644 --- a/hacks/glx/flurry.h +++ b/hacks/glx/flurry.h @@ -156,7 +156,7 @@ void DrawSpark(global_info_t *info, flurry_info_t *flurry, Spark *s); /* int fieldIncoherence = 0; */ /* int ifieldSpeed = 120; */ -static __inline__ float FastDistance2D(float x, float y) +static inline float FastDistance2D(float x, float y) { /* this function computes the distance from 0,0 to x,y with ~3.5% error */ float mn; @@ -259,9 +259,6 @@ struct _global_info_t { /* system values */ GLXContext *glx_context; Window window; - rotator *rot; - trackball_state *trackball; - Bool button_down_p; int optMode; float sys_glWidth;