diff options
author | Stefan Hacker <dd0t@users.sourceforge.net> | 2010-04-29 17:28:05 +0400 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2010-04-29 17:53:43 +0400 |
commit | 6380a88687534f241d8c882148abd2fb3faa0b2f (patch) | |
tree | c9cb7b6677f95f0f1124491b36560236abfd005f /overlay/overlay.h | |
parent | 02811bc2851fba9ad70c2c2b15d3e97c1c160b2b (diff) |
Transmit fps more often and represent them as float
Diffstat (limited to 'overlay/overlay.h')
-rw-r--r-- | overlay/overlay.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/overlay/overlay.h b/overlay/overlay.h index 636e109e8..df8de66b1 100644 --- a/overlay/overlay.h +++ b/overlay/overlay.h @@ -67,8 +67,10 @@ struct OverlayMsgPid { #define OVERLAY_MSGTYPE_FPS 5 struct OverlayMsgFps { - unsigned int fps; + float fps; }; +#define OVERLAY_FPS_INTERVAL 0.25f + struct OverlayMsg { union { |