X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fflurry.h;h=9bbe4b2580fb5cbb545d198357eaa42e84492160;hb=HEAD;hp=ba9cc9219d0569c9c7aac1a204a2c7f0dc7462ce;hpb=f0261d8acab611f3433160e4f07367b870439739;p=xscreensaver diff --git a/hacks/glx/flurry.h b/hacks/glx/flurry.h index ba9cc921..9bbe4b25 100644 --- a/hacks/glx/flurry.h +++ b/hacks/glx/flurry.h @@ -35,9 +35,20 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef __GLCODE__ #define __GLCODE__ -#include -#include -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif /* HAVE_CONFIG_H */ + +#ifndef HAVE_JWXYZ +# include +# include +# include +#endif + +#ifdef HAVE_JWZGLES +# include "jwzgles.h" +#endif /* HAVE_JWZGLES */ + #include #include @@ -274,12 +285,15 @@ struct _global_info_t { float sys_glWidth; float sys_glHeight; + double gTimeCounter; + int first; + double oldFrameTime; + flurry_info_t *flurry; }; #define kNumSpectrumEntries 512 -void OTSetup(void); -double TimeInSecondsSinceStart(void); +double TimeInSecondsSinceStart(const global_info_t *global); #endif /* Include/Define */