projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver]
/
hacks
/
fps.h
diff --git
a/hacks/fps.h
b/hacks/fps.h
index d8da89f12e24655162726860d6e0f9dc34ec6665..d99ab84bf049267250cb64c331cf9cc6da9ee493 100644
(file)
--- 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 *);
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__ */
#endif /* __XSCREENSAVER_FPS_H__ */