X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Ffps.h;h=d99ab84bf049267250cb64c331cf9cc6da9ee493;hp=d8da89f12e24655162726860d6e0f9dc34ec6665;hb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;hpb=ec8d2b32b63649e6d32bdfb306eda062769af823 diff --git a/hacks/fps.h b/hacks/fps.h index d8da89f1..d99ab84b 100644 --- a/hacks/fps.h +++ b/hacks/fps.h @@ -25,4 +25,11 @@ extern void fps_slept (fps_state *, unsigned long usecs); extern double fps_compute (fps_state *, unsigned long polys, double depth); extern void fps_draw (fps_state *); +/* Doesn't really belong here, but close enough. */ +#ifdef USE_IPHONE + extern double current_device_rotation (void); +#else +# define current_device_rotation() (0) +#endif + #endif /* __XSCREENSAVER_FPS_H__ */