aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep/timer-win2.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/timer-win2.c')
-rw-r--r--osdep/timer-win2.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/osdep/timer-win2.c b/osdep/timer-win2.c
index ef52a665d3..43c4b07fa9 100644
--- a/osdep/timer-win2.c
+++ b/osdep/timer-win2.c
@@ -25,16 +25,5 @@ int usec_sleep(int usec_delay){
return 0;
}
-static DWORD RelativeTime = 0;
-
-float GetRelativeTime(){
- DWORD t, r;
- t = GetTimer();
- r = t - RelativeTime;
- RelativeTime = t;
- return (float) r *0.000001F;
-}
-
void InitTimer(){
- GetRelativeTime();
}